Android Support Repository(47.0.0)の最新バージョンをインストールしましたが、次のエラーが原因でプロジェクトをビルドできません。ここで 最新のサポートライブラリAndroid Studioにアップグレードできません
は私build.gardleコードである26.0.2バージョンにサポートライブラリをアップグレードするには、Androidスタジオによって提案されたものを私が行っているimplementation fileTree(include: ['*.jar'], dir: 'libs')
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.3-alpha', {
exclude group: 'com.android.support', module: 'support-annotations'
})
implementation 'com.android.support:support-compat:26.0.0'
implementation 'com.android.support:support-v4:26.0.0'
implementation 'com.android.support:appcompat-v7:26.0.0'
implementation 'com.android.support:support-core-utils:26.0.0'
implementation 'com.android.support:design:26.0.0'
implementation 'com.android.support:support-vector-drawable:26.0.0'
implementation 'com.android.support:recyclerview-v7:26.0.0'
implementation 'com.android.support:cardview-v7:26.0.0'
implementation 'com.getbase:floatingactionbutton:1.10.1'
implementation 'com.google.code.gson:gson:2.8.1'
implementation 'de.hdodenhof:circleimageview:2.1.0'
implementation "at.blogc:expandabletextview:1.0.3"
testImplementation "junit:junit:4.12"
compileSdkVersion 26
buildToolsVersion '26.0.1'
defaultConfig {
applicationId "ir.dones.dones"
minSdkVersion 17
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary= true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
依存関係しかし私が知っているように、そのようなバージョンはリリースされていません。再びそう
私は同じerror.Iは(グーグルを試してみました)とMaven()のリポジトリではなく、どちらか助けていないヒット。サポートのバージョンを26. +に変更するだけで、プロジェクトを構築することができます。このようにして、Api用のXmlのフォントのような新しい機能を使用することはできません。
私はAndroidスタジオCanaryを使用しています。
ご協力いただければ幸いです。
あなたが使用しているAndroidスタジオバージョンはありますか? –
@RahulKhurana Androidスタジオ3.0 Canary 8 –