2017-07-14 81 views
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'

+1

請張貼滿logcat的,如果你能或者你的應用程序level Gradle Build –

+0

@NovoLucas我已經發布了應用程序級gradle build的代碼 – saraben

回答

1
compile 'com.android.support:animated-vector-drawable:25.2.0''' 

您已經添加了兩個額外的'那裏只是刪除它

compile 'com.android.support:animated-vector-drawable:25.2.0' 
相關問題