私はアンドロイドスタジオにプロジェクトをインポートしたいのですが、エラーが発生しました。プロジェクトをインポートしたいときにグレード同期に失敗しました
これは私のbuild.gradleファイルです:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Gradleの同期に失敗しました:原因:com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/IO /ファイル;)V 詳細については、IDEログを参照してください(ヘルプ|ログを表示)
私はdistributionUrlを変更しましたが、問題は解決しません。
私のGradleラッパーのpropertice:
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
私は3-4時間のためにネットを検索するが、私の問題を解決することができ、私の問題に対する解決策はありませんでした。
あなたはイエスケビンLE GOFF @ –
あなたのbuild.gradleファイルを投稿できます。私は私の質問 –