Skip to content

application crash #9

@odejinmi

Description

@odejinmi

Unable to start service qiuxiang.android_window.WindowService@f5edd4b with Intent { cmp=com.konn3ct.konn3ct/qiuxiang.android_window.WindowService (has extras) }: java.lang.ClassCastException: android.app.Application cannot be cast to qiuxiang.android_window.AndroidWindowApplication
E/AndroidRuntime(27343): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4133)
E/AndroidRuntime(27343): at android.app.ActivityThread.access$1900(ActivityThread.java:226)
E/AndroidRuntime(27343): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1916)
E/AndroidRuntime(27343): at android.os.Handler.dispatchMessage(Handler.java:107)
E/AndroidRuntime(27343): at android.os.Looper.loop(Looper.java:214)
E/AndroidRuntime(27343): at android.app.ActivityThread.main(ActivityThread.java:7386)
E/AndroidRuntime(27343): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(27343): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
E/AndroidRuntime(27343): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:980)
E/AndroidRuntime(27343): Caused by: java.lang.ClassCastException: android.app.Application cannot be cast to qiuxiang.android_window.AndroidWindowApplication
E/AndroidRuntime(27343): at qiuxiang.android_window.WindowService.onStartCommand(WindowService.kt:25)
E/AndroidRuntime(27343): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4115)
E/AndroidRuntime(27343): ... 8 more
I/Process (27343): Sending signal. PID: 27343 SIG: 9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions