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

App Crashes when Location Permission is granted #10

Open
mtwn105 opened this issue Jun 17, 2019 · 0 comments
Open

App Crashes when Location Permission is granted #10

mtwn105 opened this issue Jun 17, 2019 · 0 comments

Comments

@mtwn105
Copy link

mtwn105 commented Jun 17, 2019

E/AndroidRuntime(26145): FATAL EXCEPTION: AsyncTask #2 E/AndroidRuntime(26145): Process: com.mohak.instagram, PID: 26145 E/AndroidRuntime(26145): java.lang.RuntimeException: An error occurred while executing doInBackground() E/AndroidRuntime(26145): at android.os.AsyncTask$3.done(AsyncTask.java:354) E/AndroidRuntime(26145): at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383) E/AndroidRuntime(26145): at java.util.concurrent.FutureTask.setException(FutureTask.java:252) E/AndroidRuntime(26145): at java.util.concurrent.FutureTask.run(FutureTask.java:271) E/AndroidRuntime(26145): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245) E/AndroidRuntime(26145): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) E/AndroidRuntime(26145): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) E/AndroidRuntime(26145): at java.lang.Thread.run(Thread.java:764) E/AndroidRuntime(26145): Caused by: java.lang.RuntimeException: Methods marked with @UiThread must be executed on the main thread. Current thread: AsyncTask #2 E/AndroidRuntime(26145): at io.flutter.embedding.engine.FlutterJNI.ensureRunningOnMainThread(FlutterJNI.java:605) E/AndroidRuntime(26145): at io.flutter.embedding.engine.FlutterJNI.invokePlatformMessageResponseCallback(FlutterJNI.java:556) E/AndroidRuntime(26145): at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:131) Lost connection to device. E/AndroidRuntime(26145): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:225) E/AndroidRuntime(26145): at com.aloisdeniel.geocoder.GeocoderPlugin$2.doInBackground(GeocoderPlugin.java:109) E/AndroidRuntime(26145): at com.aloisdeniel.geocoder.GeocoderPlugin$2.doInBackground(GeocoderPlugin.java:102) E/AndroidRuntime(26145): at android.os.AsyncTask$2.call(AsyncTask.java:333) E/AndroidRuntime(26145): at java.util.concurrent.FutureTask.run(FutureTask.java:266) E/AndroidRuntime(26145): ... 4 more

@mtwn105 mtwn105 changed the title App Crashes when Location App Crashes when Location Permission is granted Jun 17, 2019
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

1 participant