The IDE advised me to reinstall the build tools. After many times of reinstallation, I still reported an error. Then I saw that there was an error in the version 30 of my brother online, and then it was reduced to 29. If I had passed the build, I reduced 31 to 30, and then it passed
obviously, the compatibility and stability of the new version are poor
in the Android of the global build.gradle,
change 31 to 30, as shown in the figure below.
resync and then build.
Read More:
- [problem record] installed build tools revision 31.0.0 is broken during Android studio compilation
- 2021-07-27 Android studio:Installed build tools revision 31.0.0 is corrupted.Remove and install ag
- Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager
- failed to find Build Tools revision 23.0.2 Install Build Tools 23.0.2 and sync project
- Failed to find Build Tools revision 27.0.3
- Project error – failed to find build tools revision 26.0.1
- Failed to find Build Tools revision 25.0.2
- gradle:failed to find Build Tools revision 29.0.2
- When Android Studio runs the app, it prompts Error: Please select Android SDK
- Android Studio sync build.gradle appears: Failed to resolve: com.android.support:appcompat problem
- After Android studio is installed, open a pop-up window to prompt failed to load JVM DLL XXX
- Android Studio error “Manifest merger failed with multiple errors, see logs” solution
- Android Studio Series: after Android studio is opened, the project window will not be displayed.
- [error record] as compilation error (Android support plugin version is too high | upgrade Android studio to the latest version)
- Android Studio – add configuration for Android studio
- Error: pngquant failed to build, make sure that libpng-dev is installed
- Solutions to errors in virtual machine running in Android studio
- Android studio reported an error in the release package: Lint found fatal errors while assembling a release target
- Error in Cordova project execution command after Android studio upgrade: could not find gradle wrapper within Android SDK
- Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“