Hello Guys, How are you all? Hope You all Are Fine. Today When I run my project I face Following error Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager In Android Studio. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
How Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager Error Occurs ?
I just created New project in android studio and when I run my project I face following error.
Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.
How To Solve Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager Error ?
- How To Solve Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager Error?
To Solve Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager Error Just Check the Project code panel, and go to Gradle Scripts –> build.gradle file, Change 3 places: compileSdkVersion, buildToolsVersion, targetSdkVersion from 31 to 30. You’ll notice a lightbulb hit occurring on modified lines, click and choose sync [to version 30]. The Android Studio will automatically download BuildTool V30 and change project settings.
- Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager
To Solve Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager Error Just Check the Project code panel, and go to Gradle Scripts –> build.gradle file, Change 3 places: compileSdkVersion, buildToolsVersion, targetSdkVersion from 31 to 30. You’ll notice a lightbulb hit occurring on modified lines, click and choose sync [to version 30]. The Android Studio will automatically download BuildTool V30 and change project settings.
Solution 1
Check the Project code panel, and go to Gradle Scripts –> build.gradle file,
- Change 3 places: compileSdkVersion, buildToolsVersion, targetSdkVersion from 31 to 30
- You’ll notice a lightbulb hit occurring on modified lines, click and choose sync [to version 30]. The Android Studio will automatically download BuildTool V30 and change project settings.
Solution 2
I am Just changing these settings seems to work fine. I downloaded SDK version 30 from SDK manager. And my buld.gradle configuration is the same as below.
- compileSdkVersion 30
- buildToolsVersion “30.0.3”
- minSdkVersion 23
- targetSdkVersion 30
Solution 3
- Build-tool 31.0.0 is missing DX at path-to-sdk\build-tools\31.0.0\dx.bat
- You can try copying it from previous versions but that won’t lend well if you have to tell your entire team to do the same and it still fails on your server pipeline.
- this happened to me on 31.0.0-rc5 release as well.
Solution 4
- Just Press Ctrl+Alt+Shift+S to open project structure. The select Module from the left.
- Open Properties tab and change the followings:
- Compiled Sdk Version: 30
- Build Tools Version: 30.0.2
- After that open Default Config tab and change:
- Target SDK Version: 30
Summery
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also Read
Solution 4 was of a great help..!!
Very good solution
Also nice solution
solution two worked for me. Your are looking for a buil.gradle file that contains texts. Edit the buildToolsVersion 31 to buildToolsVersion 30 and that’s it.
Solution 4 is the go-to for me. I didn’t use the 30.0.2 version but used the 31.0 version for mine and it worked out well
Selecting the 31.0 version works as well.
Fantastic solutions!! :>
Thank you so much, Admin. You saved the day!
My pleasure to help You. Thank You For your valuable comment.