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

github_iconTop GitHub Comments

1reaction
icbakercommented, Dec 18, 2019

I’ll keep this open for now to track removing IntDef values that are defined inside their interfaces.

0reactions
leemoxxcommented, Dec 18, 2019

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.

Read more comments on GitHub >

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

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