Unity publishes error records for Android platform
(1)Cannot parse project property android.enableR8=‘’ of type ‘class java.lang.String’ as boolean. Expected ‘true’ or ‘false’.
Comment out android.enableR8= MINIFY_WITH_R_EIGHT and pack it
(2)NDK 19,2,5345600 detected, Unity requires NDK r19(64-bit)(190.5232133)
NDK small version problem is wrong
If it is a large version problem, directly download the corresponding version of NDK. If it is a small version, you can solve it by masking it as shown in the figure below. Find the ndk directory, directly modify the small version and the version that needs to be requested may be able to solve the problem.
(3) Installed Build Tools revision 32.0.0 is corrupted. Remove and install again using the SDK Manager.
(1) Copy the d8.bat file in E:\Android\android-sdk-windows\build-tools\32.0.0 and change the name to dx.bat (
2) In E:\Android\android-sdk-windows\build -Tools\32.0.0\lib directory, copy the d8.jar file, modify the name to dx.jar should be able to solve
(4)Minimum supported Gradle version is 6.1.1. Current version is 5.0. If using the gradle wrapper, try editing the distributionUrl in
The error message is obvious, the Gradle version is too low, the minimum supported Gradle 6.1.1 version, just download the corresponding version.
Download address: https://gradle.org/releases/