-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
flutter/plugins
#3746Labels
a: releaseChallenges faced when attempting to productionize an appChallenges faced when attempting to productionize an appc: fatal crashCrashes that terminate the processCrashes that terminate the processfound in release: 1.26Found to occur in 1.26Found to occur in 1.26found in release: 1.27Found to occur in 1.27Found to occur in 1.27has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: mapsGoogle Maps pluginGoogle Maps pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
Description
Steps to Reproduce
Build maps example in release mode. Proguard strips out native code used for new Android Lifecycle Management introduced by flutter/plugins#3213
2020-11-04 21:24:07.920 15729-15729/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: <REDACTED>, PID: 15729
java.lang.IllegalAccessError: Interface androidx.lifecycle.b implemented by class io.flutter.plugins.googlemaps.GoogleMapController is inaccessible (declaration of 'io.flutter.plugins.googlemaps.GoogleMapController' appears in /data/app/~~56fQm49wEnuz90CgkNujMQ==/<REDACTED>-okqfqFFCQFiwngFXIJCsUQ==/base.apk)
at io.flutter.plugins.googlemaps.f.b(Unknown Source:0)
at io.flutter.plugins.googlemaps.g.a(Unknown Source:99)
at io.flutter.plugin.platform.SingleViewPresentation.onCreate(Unknown Source:116)
at android.app.Dialog.dispatchOnCreate(Dialog.java:419)
at android.app.Dialog.show(Dialog.java:313)
at android.app.Presentation.show(Presentation.java:257)
at io.flutter.plugin.platform.l.<init>(Unknown Source:55)
at io.flutter.plugin.platform.l.a(Unknown Source:65)
at io.flutter.plugin.platform.k$a.d(Unknown Source:110)
at io.flutter.embedding.engine.h.i$a.b(Unknown Source:152)
at io.flutter.embedding.engine.h.i$a.G(Unknown Source:144)
at c.a.c.a.j$a.a(Unknown Source:17)
at io.flutter.embedding.engine.e.b.e(Unknown Source:57)
at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(Unknown Source:4)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:335)
at android.os.Looper.loop(Looper.java:183)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)Logs
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel dev, 1.24.0-3.0.pre, on Microsoft Windows [Version 10.0.19041.572], locale en-GB)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.7.3)
[√] Android Studio (version 4.1.0)
[√] IntelliJ IDEA Ultimate Edition (version 2020.2)
[√] VS Code, 64-bit edition (version 1.27.2)
[√] Connected device (5 available)
• No issues found!mockturtl, pamir72, ubitechdevelopers, dev-horacebg, geekswamp and 17 more
Metadata
Metadata
Assignees
Labels
a: releaseChallenges faced when attempting to productionize an appChallenges faced when attempting to productionize an appc: fatal crashCrashes that terminate the processCrashes that terminate the processfound in release: 1.26Found to occur in 1.26Found to occur in 1.26found in release: 1.27Found to occur in 1.27Found to occur in 1.27has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: mapsGoogle Maps pluginGoogle Maps pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version