question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't make release APK from demo app

See original GitHub issue

Issue 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:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
toniheicommented, Dec 31, 2019

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.

0reactions
raghavsatyadevcommented, Dec 27, 2019

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:

we can’t make app bundle because of some internal issue only APK

So, my current understanding is that there is an issue when you want to create an app bundle with Android. This is not related to ExoPlayer as I understand. Is this correct?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/google/ExoPlayer/issues/6807?email_source=notifications&email_token=ABPD5JZ2JO7TPB5DGQXKCU3Q2YQGHA5CNFSM4J7I7FZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHXMEZI#issuecomment-569295461, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPD5JZLKR4BPKQ6ZUMH7D3Q2YQGHANCNFSM4J7I7FZQ .

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found