can't find referenced class com.google.android.exoplayer2.text.ssa.SsaStyle$SsaAlignment on release
See original GitHub issue[REQUIRED] Issue description
I cannot generate signed apk/bundle. Whenever I do it, I get the following messages on failure:
com.google.android.exoplayer2.text.ssa.SsaDecoder: can't find referenced class com.google.android.exoplayer2.text.ssa.SsaStyle$SsaAlignment
com.google.android.exoplayer2.text.ssa.SsaStyle$Overrides: can't find referenced class com.google.android.exoplayer2.text.ssa.SsaStyle$SsaAlignment
[REQUIRED] Reproduction steps
Attempt to generate a signed apk/bundle. I am using ProGuard.
[REQUIRED] Link to test content
[REQUIRED] A full bug report captured from the device
[REQUIRED] Version of ExoPlayer being used
Latest (v2.11.0).
[REQUIRED] Device(s) and version(s) of Android being used
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
ProGuard: can't find referenced class com.google.android.gms.R
Although adding this to proguard-project.txt file works, it keeps all classes. -keep class com.google.android.gms.** { *; } -dontwarn com.google.android.gms ...
Read more >ProGuard: can't find referenced class com.google.android.gms.R
Android : ProGuard: can't find referenced class com. google. android.gms.R [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] ...
Read more >I am getting this error, "can't find referenced method" when ...
Class )' in library class java.lang.invoke.MethodHandle Note: com.google.gson.internal.UnsafeAllocator: can't find dynamically referenced ...
Read more >Warning: Can't find referenced class — Proguard Errors
Run ./gradlew assemble and you will get the following exception on release builds · Find (CTRL + F) warning in the your terminal...
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
I’ll keep this open for now to track removing IntDef values that are defined inside their interfaces.
Thank you so much for the solution and explanation @icbaker I have tried keeping the class originally but that did not help. I have thought about suppressing the warning, but I was afraid it would cause issues. I am not sure if I should be closing this issue or not, so I will leave that to you.