Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

点击退出的时候奔溃 #7

Closed
df13954 opened this issue Dec 29, 2018 · 0 comments
Closed

点击退出的时候奔溃 #7

df13954 opened this issue Dec 29, 2018 · 0 comments

Comments

@df13954
Copy link

df13954 commented Dec 29, 2018

    java.lang.RuntimeException: Unable to stop service com.wrbug.developerhelper.service.FloatWindowService@54e0c28: java.lang.IllegalArgumentException: View=android.widget.ImageView{3f4beed V.ED..C.. ......ID 0,0-0,0} not attached to window manager
        at android.app.ActivityThread.handleStopService(ActivityThread.java:3374)
        at android.app.ActivityThread.-wrap27(ActivityThread.java)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1588)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:154)
        at android.app.ActivityThread.main(ActivityThread.java:6121)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
        at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:107)
     Caused by: java.lang.IllegalArgumentException: View=android.widget.ImageView{3f4beed V.ED..C.. ......ID 0,0-0,0} not attached to window manager
        at android.view.WindowManagerGlobal.findViewLocked(WindowManagerGlobal.java:473)
        at android.view.WindowManagerGlobal.removeView(WindowManagerGlobal.java:382)
        at android.view.WindowManagerImpl.removeView(WindowManagerImpl.java:119)
        at com.yhao.floatwindow.FloatPhone.dismiss(FloatPhone.java:121)
        at com.yhao.floatwindow.IFloatWindowImpl.dismiss(IFloatWindowImpl.java:118)
        at com.yhao.floatwindow.FloatWindow.destroy(FloatWindow.java:53)
        at com.wrbug.developerhelper.service.FloatWindowService.onDestroy(FloatWindowService.kt:118)
        at android.app.ActivityThread.handleStopService(ActivityThread.java:3357)
        at android.app.ActivityThread.-wrap27(ActivityThread.java) 
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1588) 
        at android.os.Handler.dispatchMessage(Handler.java:102) 
        at android.os.Looper.loop(Looper.java:154) 
        at android.app.ActivityThread.main(ActivityThread.java:6121) 
        at java.lang.reflect.Method.invoke(Native Method) 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants