2014年8月5日 星期二

Android Studio - Troubleshooting

  • [ E ]
    開啟的檔案 tab 下方出現黃色底的警告訊息 "Gradle project sync failed. Basic functionality (e.g. editing, debugging) will not work properly",點擊後方的 "Try Again",視窗下半部出現錯誤訊息 "Gradle 'XXX' project refresh failed / Error: Cause: error in opening zip file"
    [ S ]
    http://stackoverflow.com/questions/21066598/android-studio-0-4-2-gradle-project-sync-failed-error
    1. File -> Invalidate caches / Restart
    2. Shutdown Android Studio
    3. Rename/remove .gradle folder in the user home directory (C:\Users\<User Name>\.gradle)
    4. Restart Android Studio let it download all the Gradle stuff it needs
    5. Gradle build success !
    6. Rebuild project.... success !

沒有留言:

張貼留言