You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method getImei occur exception, Hope can check results of length
Here is the log:
Back traces starts.
java.lang.RuntimeException: Failure delivering result ResultInfo{who=@android:requestPermissions:, request=1995, result=0, data=null} to activity {xxxxx/xxxxx.MainActivity}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
at android.app.ActivityThread.deliverResults(ActivityThread.java:5041)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:5084)
at android.app.ActivityThread.-wrap20(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2053)
at android.os.Handler.dispatchMessage(Handler.java:108)
at android.os.Looper.loop(Looper.java:166)
at android.app.ActivityThread.main(ActivityThread.java:7529)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
at com.rioapp.demo.imeiplugin.ImeiPlugin.onRequestPermissionsResult(ImeiPlugin.java:165)
at io.flutter.embedding.engine.FlutterEnginePluginRegistry$FlutterEngineActivityPluginBinding.onRequestPermissionsResult(FlutterEnginePluginRegistry.java:664)
at io.flutter.embedding.engine.FlutterEnginePluginRegistry.onRequestPermissionsResult(FlutterEnginePluginRegistry.java:364)
at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onRequestPermissionsResult(FlutterActivityAndFragmentDelegate.java:579)
at io.flutter.embedding.android.FlutterActivity.onRequestPermissionsResult(FlutterActivity.java:601)
at android.app.Activity.dispatchRequestPermissionsResult(Activity.java:7854)
at android.app.Activity.dispatchActivityResult(Activity.java:7705)
at android.app.ActivityThread.deliverResults(ActivityThread.java:5037)
... 9 more
Back traces ends.
The text was updated successfully, but these errors were encountered:
Describe
The method
getImei
occur exception, Hope can checkresults
of lengthHere is the log:
The text was updated successfully, but these errors were encountered: