安卓:Could not read cache value from'C:\Users\Username\.gradle\daemon\1.12\registry.bin'

android studio在加載項目的時候報錯:

Error:Could not read cache value from'C:\Users\Username\.gradle\daemon\1.12\registry.bin'

參考stack overflow上的一個解決方法,刪除 registry.bin.lock 文件即可,這個文件與registry.bin是在一個目錄下的。

刪除這個文件後,重新打開AS即可。

參考鏈接:http://stackoverflow.com/questions/25127652/gradle-error-after-importing-projects-from-eclipse

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章