Skip to content
New issue

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

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

Already on GitHub? # to your account

Crashes on android release #273

Closed
cyberpwnn opened this issue Nov 18, 2020 · 2 comments
Closed

Crashes on android release #273

cyberpwnn opened this issue Nov 18, 2020 · 2 comments

Comments

@cyberpwnn
Copy link

(io.flutter.embedding.engine.FlutterEngine@68e75b3).
[   +2 ms] E/AndroidRuntime(22998): FATAL EXCEPTION: main
[        ] E/AndroidRuntime(22998): Process: care.myguide.app, PID: 22998
[   +2 ms] E/AndroidRuntime(22998): java.lang.RuntimeException: Unable to start activity ComponentInfo{care.myguide.app/care.myguide.app.MainActivity}: java.lang.IllegalStateException: registrar.context() must not be null
[        ] E/AndroidRuntime(22998):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3385)
[        ] E/AndroidRuntime(22998):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3524)
[   +4 ms] E/AndroidRuntime(22998):     at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
[   +1 ms] E/AndroidRuntime(22998):     at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
[   +1 ms] E/AndroidRuntime(22998):     at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
[        ] E/AndroidRuntime(22998):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2131)
[   +1 ms] E/AndroidRuntime(22998):     at android.os.Handler.dispatchMessage(Handler.java:107)
[   +1 ms] E/AndroidRuntime(22998):     at android.os.Looper.loop(Looper.java:214)
[   +2 ms] E/AndroidRuntime(22998):     at android.app.ActivityThread.main(ActivityThread.java:7707)
[   +1 ms] E/AndroidRuntime(22998):     at java.lang.reflect.Method.invoke(Native Method)
[   +1 ms] E/AndroidRuntime(22998):     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
[        ] E/AndroidRuntime(22998):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
[   +1 ms] E/AndroidRuntime(22998): Caused by: java.lang.IllegalStateException: registrar.context() must not be null
[   +1 ms] E/AndroidRuntime(22998):     at com.builttoroam.devicecalendar.DeviceCalendarPlugin$Companion.registerWith(DeviceCalendarPlugin.kt:74)
[   +1 ms] E/AndroidRuntime(22998):     at com.builttoroam.devicecalendar.DeviceCalendarPlugin.registerWith(Unknown Source:2)
[   +3 ms] E/AndroidRuntime(22998):     at io.flutter.plugins.GeneratedPluginRegistrant.registerWith(GeneratedPluginRegistrant.java:20)
[        ] E/AndroidRuntime(22998):     at care.myguide.app.MainActivity.configureFlutterEngine(MainActivity.java:30)
[   +2 ms] E/AndroidRuntime(22998):     at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onAttach(FlutterActivityAndFragmentDelegate.java:179)
[   +1 ms] E/AndroidRuntime(22998):     at io.flutter.embedding.android.FlutterActivity.onCreate(FlutterActivity.java:410)
[   +1 ms] E/AndroidRuntime(22998):     at android.app.Activity.performCreate(Activity.java:7825)
[        ] E/AndroidRuntime(22998):     at android.app.Activity.performCreate(Activity.java:7814)
[   +1 ms] E/AndroidRuntime(22998):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1325)
[   +3 ms] E/AndroidRuntime(22998):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3360)
[   +1 ms] E/AndroidRuntime(22998):     ... 11 more

@juampiq6
Copy link

juampiq6 commented Nov 19, 2020

This issue was solved rIght here: #99 (comment).
It should be closed now

@andzejsw
Copy link
Contributor

Proguard related issue. Readme improved here: 43868ab

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants