Android

※前提条件:本情報はAndroid Studio 4.2.2を基づいて説明してる

Installed Build Tools revision 31.0.0 is corrupted [edit]

SDK的版本不一致

打开 “Android SDK”"SDK Platforms"里面的版本降一下,使用下图中 API level为30的

android_ts1.png

将下面三个的版本降一个版本

android {
    compileSdkVersion 31
    buildToolsVersion "31.0.0"

    defaultConfig {
        applicationId "com.decouvrir"
        minSdkVersion 16
        targetSdkVersion 31
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }
...

コメント:



(画像の文字列を入力して下さい)

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS