0
嗨,大家好,我是Android Studio的新手,我遇到了我的gradle項目的問題,它帶來了這個消息; 類型org.gradle的DefaultExternalModuleDependency {group ='com.android.support',name ='animated-vector-drawable',version = '25 .2.0',configuration ='default'}無法獲取未知屬性' .api.internal.artifacts.dependencies.DefaultExternalModuleDependency.Kindly Assist。 代碼應用水平gradle這個建立Android studiogradle項目同步失敗
android {
compileSdkVersion 26
buildToolsVersion "26.0.0"
defaultConfig {
applicationId "com.example.sarah_njeri.theroscaapp"
minSdkVersion 15
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile 'com.android.support:animated-vector-drawable:25.2.0'''
compile 'com.android.support-compact:25.3.1'
compile 'com.google.android.gms:play-services:10.0.1'
compile 'com.google.firebase:firebase-database:10.0.1'
compile 'com.android.support:support-vector-drawable:26.3.1'
}
apply plugin: 'com.google.gms.google-services'
請張貼滿logcat的,如果你能或者你的應用程序level Gradle Build –
@NovoLucas我已經發布了應用程序級gradle build的代碼 – saraben