-
Notifications
You must be signed in to change notification settings - Fork 73
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
Flutter app fails for release after adding amplitude package #117
Comments
@mikerashoo Thank you for submitting issues here. Is there any log or info about the crashing? We'll look into the problem. Any additional information would be helpful. |
@bohan-amplitude I'm running into the same issue with the amplitude_flutter package causing the Android release build to fail. I've copied the error message below. I’m using amplitude_flutter: 3.10.0 and Flutter 3.0.5. Please let me know if there's any other information I can provide that would be helpful. ERROR:R8: com.android.tools.r8.internal.r8: Attribute Signature requires InnerClasses attribute. Check -keepattributes directive. FAILURE: Build failed with an exception.
BUILD FAILED in 1m 29s ┌─ Flutter Fix ──────────────────────────────────────────────────────────────┐ |
Hi @sarlow, can you also provide the following info? 1.run |
Hi @yuhao900914, thanks for following up. After updating the |
Thanks, @sarlow. Do you mind to share the changes in |
Sure, the changes were:
|
Thanks! |
Hi we added amplitude on existing flutter app. it works fine when we run debug mode on emulator.
but running release mode is crashing app on start even without implementing and only adding amplitude_flutter dependency without implementing it causes the same issue.
Another issue is after adding when we try to build copy of build folder is created under android/app/.. folder.
has been while tiring to fix but no luck.
any help is appreciated
The text was updated successfully, but these errors were encountered: