My Android project suddenly started failing. On one of my projects, I used the following two libraries.
- tv.danmaku.ijk.media:ijkplayer-java:0.8.8 (https://github.com/bilibili/ijkplayer)
- jp.wasabeef:glide-transformations:2.0.2 (https://github.com/wasabeef/glide-transformations)
Gradle version: 8.9 | Gradle plugin version: 8.2.2 | JVMv Target = 17
My project was running fine then suddenly my gradle sync started failing due to these libraries.
* What went wrong:
Execution failed for task ':app:dataBindingMergeDependencyArtifactsDebug'.
> Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Could not find tv.danmaku.ijk.media:ijkplayer-java:0.8.8.
Required by:
project :app
> Could not find jp.wasabeef:glide-transformations:2.0.2.
Required by:
project :app
There were no code changes but I updated android studio to the latest version.
Android Studio Ladybug | 2024.2.1 Patch 1 Build
#AI-242.23339.11.2421.12483815, built on October 11, 2024 Runtime version: 21.0.3+-12282718-b509.11 amd64 VM: OpenJDK 64-Bit Server VM
by JetBrains s.r.o. Toolkit: sun.awt.windows.WToolkit Windows 11.0
I suspected it was an issue with the IDE, so I uninstalled and downgraded it, but this did not resolve the problem. I tested the same branch on another device, and it worked. And the problem does not exist in my coworker’s system.
I could not discover a solution on the internet, and AI models are not helpful right now. It is been days since I was stuck on this problem. I tried disabling Windows firewalls. I tried various Gradle versions, Java versions, and Android Studio versions.
I ended up resetting my machine and reinstalling Android Studio, and it still did not work.
Please help!
You need to sign in to view this answers
Leave feedback about this