Hi everyone,
I’m working on an Android project using Gradle 8.7 and JDK 20, but I’m encountering the following error during the build process:
A problem occurred evaluating root project 'android-build'.
> Failed to apply plugin 'com.android.internal.application'.
> The option 'android.bundle.enableUncompressedNativeLibs' is deprecated.
The current default is 'true'.
It was removed in version 8.1 of the Android Gradle plugin.
After researching, I found that this option has been deprecated in the latest versions of the Android Gradle Plugin, but the project configuration seems to re-add this option automatically with every build. Even though I manually remove it, it keeps getting added back, and I suspect this configuration might not even be necessary for my project.
Details:
- Gradle version: 8.7
- JDK version: 20
- Android SDK version: 35.0.0-rc4 (Build Tools)
- NDK version: 21.3.6528147