There is a problem with version 31.0.0. You can choose another version
first go to tools – & gt; Uninstall 31.0.0 in SDK manager, Download Android R (API 30: version 11)
after that, modify the three variables compilesdkversion, buildtoolsversion and targetsdkversion in APP/build.gradle file
compileSdkVersion 30
buildToolsVersion “30.0.0”
targetSdkVersion 30
Read More:
- Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager
- [problem record] installed build tools revision 31.0.0 is broken during Android studio compilation
- [actual record of Android stepping on the pit] Android studio runs with errors. Installed build tools revision 31 is broken
- failed to find Build Tools revision 23.0.2 Install Build Tools 23.0.2 and sync project
- Failed to find Build Tools revision 25.0.2
- Project error – failed to find build tools revision 26.0.1
- Failed to find Build Tools revision 27.0.3
- gradle:failed to find Build Tools revision 29.0.2
- Android Studio sync build.gradle appears: Failed to resolve: com.android.support:appcompat problem
- Install of Android studio_ FAILED_ OLDER_ Solutions to SDK
- 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)
- After Android studio is installed, open a pop-up window to prompt failed to load JVM DLL XXX
- Error in Cordova project execution command after Android studio upgrade: could not find gradle wrapper within Android SDK
- Android Studio – add configuration for Android studio
- Re installing Android studio always fails to install SDK when installing software (solution)
- Android studio disable install run
- Change API level Android studio
- When Android Studio runs the app, it prompts Error: Please select Android SDK
- “Android.””IDE,” CMakereward Invalid revision: 3.18.1-g262b901-dirtyerror