今日、私は最新のAndroid Studio最新バージョンをアップグレードしてプロジェクトをビルドしました。そして、問題は新しいAndroid Studioです。私はSDK 23でプロジェクトをコンパイルできません... SDK 25は下位のSDKバージョンで壊れており、一部の上位SDKでしか動作しないため、SDK 25でビルドできません。どうすればこの問題を解決できるのかを提案してください。新しいAndroid StudioでAPIを使用してプロジェクトをビルドできません23
エラー:SDKビルドツールのリビジョン(23.0.1)がプロジェクト ':app'には低すぎます。最低限必要なはここ25.0.0
は私のGradleのコードで、
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion '23.0.1'
defaultConfig {
applicationId "com.app.androidlivetv"
manifestPlaceholders = [manifestApplicationId: "${applicationId}",
onesignal_app_id: "90582504-49da-44c1-8a3c-800ca73877af",
onesignal_google_project_number: "267076126070"]
minSdkVersion 16
targetSdkVersion 20
versionCode 1
versionName "1.0"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
dexOptions {
javaMaxHeapSize "4g"
}
}
}
dependencies {
compile files('libs/picasso-2.4.0.jar')
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'it.neokree:MaterialTabs:0.11'
compile 'com.google.android.gms:play-services:10.2.0'
compile 'com.onesignal:OneSignal:[email protected]'
compile 'com.devbrackets.android:exomedia:2.5.5'
compile 'com.google.android.exoplayer:exoplayer:r1.5.8'
compile files('libs/YouTubeAndroidPlayerApi.jar')
compile 'com.android.support:multidex:1.0.1'
}
あなたは常に最新のSDKでコンパイルおよびより少ないAPIのバージョン上で実行することができます。あなたはそれを試してみて**後にするときのエラーを記述してください。**あなたはサポートの依存関係を更新します** ** compileSdkのバージョン番号 –