2017-10-23 6 views
-1

の1 ERRORを見つけることができません。 errorアンドロイドスタジオ明確.gradle: Users ユーザー管理、クラスパス

私のアプリのGradleの:

buildscript { 
    repositories { 
     jcenter() 
    } 
    dependencies { 
     classpath 'com.android.tools.build:gradle:2.2.3' 
     classpath 'com.tencent.mm:AndResGuard-gradle-plugin:1.1.8' 
     classpath 'org.greenrobot:greendao-gradle-plugin:3.2.1' 
     classpath 'com.google.gms:google-services:3.0.0' 

     // NOTE: Do not place your application dependencies here; they belong 
     // in the individual module build.gradle files 
    } 
} 

allprojects { 
    repositories { 
     jcenter() 
    } 
} 

私はそのためだSRYコードは投稿できないので、私はこの文がナンセンスだと言ったもの

答えて

0

あなたがこのURLを開くと、1.1.8jcenterリポジトリに存在しないことがわかります。利用可能なバージョンがあります:

https://jcenter.bintray.com/com/tencent/mm/AndResGuard-gradle-plugin/

1.2.3/ 
1.2.4/  
1.2.5-RC1/  
1.2.5/ 
1.2.6/ 
1.2.7/ 

だから1.2.xバージョンにAndResGuard-gradle-pluginをアップグレードするか、maven { url 'https://dl.bintray.com/simsun/maven' }を追加することによってでjcenterリポジトリを変更し、次のいずれか

buildscript { 
    repositories { 
     jcenter() 
     maven { url 'https://dl.bintray.com/simsun/maven' } 
    } 
    dependencies { 
     classpath 'com.android.tools.build:gradle:2.2.3' 
     classpath 'com.tencent.mm:AndResGuard-gradle-plugin:1.1.8' 
     classpath 'org.greenrobot:greendao-gradle-plugin:3.2.1' 
     classpath 'com.google.gms:google-services:3.0.0' 

     // NOTE: Do not place your application dependencies here; they belong 
     // in the individual module build.gradle files 
    } 
} 
関連する問題