SORU
16 Mayıs 2013, PERŞEMBE


Android Studio yükleme hatası Gradle

Android Studio projesi oluşturmaya çalıştığımda bu hatayı alıyorum:

Compilation completed with 1 error and 0 warnings in 9 sec
1 error
0 warnings
org.gradle.tooling.GradleConnectionException: Could not install Gradle distribution from 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'.: Could not install Gradle distribution from 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'.

Ben bunu düzeltmek için ne yapabilirim?

GÜNCELLEME:

Hata Günlüğüne baktığımda bunu gördüm:

org.jetbrains.plugins.gradle.settings.GradleSettings cannot be cast to org.jetbrains.plugins.gradle.settings.GradleSettings:
org.jetbrains.plugins.gradle.settings.GradleSettings cannot be cast to org.jetbrains.plugins.gradle.settings.GradleSettings

CEVAP
17 Mayıs 2013, Cuma


Lütfen günlük okuyun:

  • Microsoft Windows: [Windwos Drive]\Documents and Settings\[your username]\.AndroidStudioPreview\system\log
  • Mac ve Linux: ~/.AndroidStudioPreview/system/log/

Ve gradle-1.6-bin.zip tmp indirme yolunu bulacaksınız. Örneğin, benim

2013-05-17 09:42:16,934 [ 283002]   INFO - ution.rmi.RemoteProcessSupport - Unzipping C:\Documents and Settings\Kiki.J.Hu\.gradle\wrapper\dists\gradle-1.6-bin\72srdo3a5eb3bic159kar72vok\gradle-1.6-bin.zip to C:\Documents and Settings\Kiki.J.Hu\.gradle\wrapper\dists\gradle-1.6-bin\72srdo3a5eb3bic159kar72vok 
...
Caused by: com.intellij.openapi.externalSystem.model.ExternalSystemException: Could not install Gradle distribution from 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'.
java.util.zip.ZipException: error in opening zip file

Nedenini biliyorum: eksik ZİP paketini indirdim.
Sonra http://services.gradle.org/distributions/gradle-1.6-bin.zip ZİP paketi manuel olarak indirdim ve ZİP paketi kopyalanır:

  • Windows: C:\Documents and Settings\Kiki.J.Hu\.gradle\wrapper\dists\gradle-1.6-bin\72srdo3a5eb3bic159kar72vok\
  • Mac OS X: ~/.gradle/wrapper/dists/gradle-1.10-all/6vpvhqu0efs1fqmqr2decq1v12/

Artık herşey yolunda.

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Joseph Hayhoe

    Joseph Hayho

    20 Mayıs 2010
  • Leigh Momii

    Leigh Momii

    10 Mayıs 2006
  • mobilenet.cz

    mobilenet.cz

    26 NİSAN 2008