Android Studio ve Gradle build hatası
Android yeni önizleme ve gerçekten seviyorum studio kullanıyorum. Ama son zamanlarda benim proje inşa olmaz. Aşağıdaki hatayı alıyorum:
Gradle:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':TestProj:compileDebug'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Could not execute build using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'.
Soru nasıl yığın izleme etkinleştirebilirim hata köküne inmek istiyorum. Olduğu gibi ben gerçekten buna neyin sebep olduğunu hiç bir fikrim yok.
CEVAP
Kullanıyorsanız Gradle Wrapper (önerilen seçenek olarak Android Studio), etkinleştirmek stacktrace ile çalışan gradlew compileDebug --stacktrace
komut satırından kök klasörün projesi (gradlew
dosyası).
Eğer gradle sarıcı kullanıyorsanız, gradle compileDebug --stacktrace
(muhtemelen) yerine kullanın.
Gerçekten --stacktrace
olsa da, kendisi tarafından gradlew compileDebug
komut satırından, hatanın nerede olduğunu söylemeliyim çalışan çalıştırmak gerek yok.
Bu yorum bu bilgileri.:
android studio 0.4.2: Gradle projesi s...
Apaçık bir Birleşme hatası Gradle simg...
Android Studio yükleme hatası Gradle...
Android Studio Gradle nedir?...
Android Studio ve Gradle ile bina ve ç...