Skip to main content

Update Android targetSdkVersion

If the Android Gradle plugin used in your business project is version 7.x or later, no modification is required.

Build Tools revision 33.0.0

If you are prompted Installed Build Tools revision 33.0.0 is corrupted. Remove and install again using the SDK Manager. when building the project, you need to change d8 to dx under build-tools/33.0.0 in your AndroidSDK directory.You can execute the following command:

MAC

cd {YOUR_ANDROID_SDK_HOME}/build-tools/33.0.0
cp d8 dx
cd lib
cp d8.jar dx.jar

Windows

cd {YOUR_ANDROID_SDK_HOME}/build-tools/33.0.0
xcopy d8 dx
cd lib
xcopy d8.dat dx.dat

Build Tools revision 32.0.0

If you are prompted Installed Build Tools revision 32.0.0 is corrupted. Remove and install again using the SDK Manager. when building the project, you need to change d8 to dx under build-tools/32.0.0 in your AndroidSDK directory. Execute the following command:

MAC

cd {YOUR_ANDROID_SDK_HOME}/build-tools/32.0.0
cp d8 dx
cd lib
cp d8.jar dx.jar

Windows

cd {YOUR_ANDROID_SDK_HOME}/build-tools/32.0.0
xcopy d8 dx
cd lib
xcopy d8.dat dx.dat

Build Tools revision 31.0.0

If you are prompted Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager. when building the project, you need to change d8 to dx under build-tools/31.0.0 in your AndroidSDK directory.You can execute the following command:

MAC

cd {YOUR_ANDROID_SDK_HOME}/build-tools/31.0.0
cp d8 dx
cd lib
cp d8.jar dx.jar

Windows

cd {YOUR_ANDROID_SDK_HOME}/build-tools/31.0.0
xcopy d8 dx
cd lib
xcopy d8.dat dx.dat