Crash on Android: Unable to resume activity java.lang.reflect.InvocationTargetException #871
Closed
3 tasks done
Labels
bug
Something isn't working
Before submitting a new issue
Bug summary
On some devices like Oppo Realme 7i with Android 10 it's crashing when calling request(PERMISSIONS.ANDROID.ACCESS_FINE_LOCATION):
Fatal Exception: java.lang.RuntimeException: Unable to resume activity {com.myapp/com.myapp.MainActivity}: java.lang.reflect.InvocationTargetException
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4486)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4524)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:181)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:102)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2207)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:238)
at android.app.ActivityThread.main(ActivityThread.java:7834)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:512)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:986)
Library version
4.1.5
Environment info
Steps to reproduce
Reproducible sample code
The text was updated successfully, but these errors were encountered: