Sadece Android Studio 1.0RC4 yazılımını indirdim ve yeni oluşturulanlar bile hiçbir proje oluşturamıyorum.Android Studio 1.0RC4 Gradle yapı hatası
aldım hatadır:
Error:Could not run build action using Gradle distribution ' https://services.gradle.org/distributions/gradle-2.2.1-all.zip '.
gözatıcıdan zip indirmek mümkün ama AS üzerinde çalışmıyor.
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0-rc1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
Modül inşa dosyası:: Bu benim build.gradle dosyasıdır ben graddle çalıştırmak için çalıştı
apply plugin: 'com.android.application'
android {
compileSdkVersion 19
buildToolsVersion "19.1.0"
defaultConfig {
applicationId "simple.com.car10"
minSdkVersion 14
targetSdkVersion 19
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}
Graddle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
- cmd den inşa ve ben Bu hatayı aldık:
FAILURE: Build failed with an exception.
* What went wrong:
Build file 'C:\Users\Giovanni\uild' does not exist.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
BUILD FAILED
Toplam t ime: 3,093 saniye
JDK: 1.8.0_05
ben zaten herşeyi kaldırıp tekrar yükleyerek denedim ama işe yaramadı, hiçbir şey olmuyor tekrar deneyin vurduğunda.
Fikriniz var mı? Teşekkürler.
Bu genel Gradle dosyasıdır için
JAVA_OPTIONS
kurmuştu. Modülünüzün adını içeren bir tane gönderin. App graddle – sandalonegradle-wrapper.properties dosyanızı gösterebilir miyim? – Moondustt
ile düzenlenmiş – buxik