Can't make release APK from demo app
See original GitHub issueIssue description
Can’t build release APK with minifyEnabled & shrinkResources = true
Reproduction steps
- Upgrade demo app to use in Android Studio 4.0 Canary 6
- Try to make release APK of demo module with withExtensionsRelease Build Variant
Version of ExoPlayer being used
2.11.1
R8 is enabled
Error
Multiple entries with same key: Method com.google.android.exoplayer2.analytics.AnalyticsCollector.onAudioSessionId Proto VI void int=Encoded method Method com.google.android.exoplayer2.analytics.AnalyticsCollector.onAudioSessionId Proto VI void int and Method com.google.android.exoplayer2.analytics.AnalyticsCollector.onAudioSessionId Proto VI void int=Encoded method Method com.google.android.exoplayer2.analytics.AnalyticsCollector.onAudioSessionId Proto VI void int
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Cannot create release apk in Android Studio 2.2
I can debug the app on my phone, I just cannot generate the release apk. Also: there is a (debug) in gray besides...
Read more >Error in making release apk or run the app in release mode
If the error is about debug/libs.jar, first build the debug version (and also the profile mode) and then try to Generate signed apk....
Read more >Prepare for release - Android Developers
Developer documentation on how to build the signed, release-ready APK. This process is the same for all Android apps.
Read more >How to Generate APK and Signed APK Files in Android Studio
To generate a signed APK file, open the Build menu from the toolbar and select Generate Signed Bundle/APK. ... This opens up a...
Read more >Prepare and roll out a release - Play Console Help
With a release, you can manage your app's Android App Bundle (or APK for ... You can create a release on three different...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If it’s fixed by an update to a canary Android Studio version, then it probably was a bug in the Android Studio implementation unrelated to ExoPlayer itself. I’ll close this issue under the assumption that it is now fixed.
For Canary 6 it’s related, for Canary 7 it’s not
On Fri, 27 Dec, 2019, 9:23 pm Marc Baechinger, notifications@github.com wrote: