Skip to content
This repository has been archived by the owner on Jun 19, 2021. It is now read-only.

Android 8.0-8.1 critical bug with startActivityForResult #28

Open
gSerP1983 opened this issue Apr 13, 2018 · 0 comments
Open

Android 8.0-8.1 critical bug with startActivityForResult #28

gSerP1983 opened this issue Apr 13, 2018 · 0 comments

Comments

@gSerP1983
Copy link

If I call startActivity, it works fine. If I call startActivityForResult my app closes with error:

04-13 19:50:18.465 6672-6672/com.serp.benchpressplus E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.serp.benchpressplus, PID: 6672
java.lang.IllegalArgumentException: View=DecorView@2ee20e4[] not attached to window manager
at android.view.WindowManagerGlobal.findViewLocked(WindowManagerGlobal.java:485)
at android.view.WindowManagerGlobal.updateViewLayout(WindowManagerGlobal.java:380)
at android.view.WindowManagerImpl.updateViewLayout(WindowManagerImpl.java:99)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3714)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1638)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant