Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

LibGdx video work on Desktop, but not work on Android #94

Open
pnmtriet opened this issue May 7, 2024 · 1 comment
Open

LibGdx video work on Desktop, but not work on Android #94

pnmtriet opened this issue May 7, 2024 · 1 comment

Comments

@pnmtriet
Copy link

pnmtriet commented May 7, 2024

I use Libgdx 1.10
In build.gradle
Project Desktop, in dependencies
implementation "com.badlogicgames.gdx-video:gdx-video-lwjgl:1.3.2-SNAPSHOT"
Project Android, in dependencies
implementation "com.badlogicgames.gdx-video:gdx-video-android:1.3.2-SNAPSHOT"

When I run on Desktop, it's ok. But, when I run on Android, it throws error:

com.badlogic.gdx.utils.reflect.ReflectionException: Class not found: com.badlogic.gdx.video.VideoPlayerAndroid

@SimonIT
Copy link
Member

SimonIT commented Nov 1, 2024

Is the exception being thrown in a release build? Maybe R8/ProGuard has obfuscated the class. I just added a rule for this cb5dd8f

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants