解決Entry fileTemplates//Singleton.java.ft not found in C:/Dev/android-studio/lib/resources_en.jar

解決Event Log 中的Entry fileTemplates//Singleton.java.ft not found in C:/Dev/android-studio/lib/resources_en.jar報錯

解決方法:

找到androidstudio的安裝目錄的bin文件下

studio64.exe.vmoptions或者studio.exe.vmoptions(32位對應studio.exe.vmoptions),將以下代碼,添加到其中,添加到到最後一行即可:

-Djdk.util.zip.ensureTrailingSlash=false


保存後,點擊Android Studio菜單中的 “File” -> “Invalidate Caches / Restart”,然後點擊對話框中的 “Invalidate and Restart”,清空 cache 並且重啓,問題解決

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