'android.bundle.enableUncompressedNativeLibs' is deprecated

Hello, I am using Unity 6000

when I try to build Android app bundle, it fails

\Library\Bee\Android\Prj\IL2CPP\Gradle\launcher\build.gradle’ line: 1

  • What went wrong:
    A problem occurred evaluating project ‘:launcher’.

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.

I tried to update \Library\Bee\Android\Prj\IL2CPP\Gradle\launcher\build.gradle’ to comment/remove this line, but this file gets re-generated at build, overriding my changes.

any suggestions would be greatly appreciated.

If you want this file to persist use gradle template in Players Settings → Publishing

1 Like