- 投稿日:2021-07-26T17:30:23+09:00
About APK.car
Apk.care is a wonderful website helping you download Android APK files very fast and safely. You can download and store over 10M files, including old versions that you cannot find from Google Play. Moreover, when you need an app/game but Google Play restricts it in your country, let Google and search: "your app name + Apk.care'', then go and easily download it from our website. Go and enjoy your time with us - https://apk.care/ Website: https://apk.care/
- 投稿日:2021-07-26T01:02:19+09:00
【Android】Installed Build Tools revision 31.0.0 is corruptedの対処法
環境 Android Studio 4.2.2 エラー内容 新規プロジェクトを作成した時,あるいはRun 'app'をした時に,以下のエラーが発生する場合があります. Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager. 対処法 以下のようにapp/build.gradleを書き換えることでエラーを解決できます. 変更前 app/build.gradle android { compileSdkVersion 31 buildToolsVersion "31.0.0" defaultConfig { applicationId "app.myouji.nickname.myapplication" minSdkVersion 21 targetSdkVersion 31 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } ~ 省略 ~ } 変更後 app/build.gradle android { compileSdkVersion 31 buildToolsVersion "30.0.3" //変更 defaultConfig { applicationId "app.myouji.nickname.myapplication" minSdkVersion 21 targetSdkVersion 30 //変更 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } ~ 省略 ~ } 参考記事 Android Studio error “Installed Build Tools revision 31.0.0 is corrupted” Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager. が表示され、ビルドが失敗する