最近Android Studio鬧事裙椭,出現(xiàn)了一個(gè)錯(cuò)誤提示No IDEA annotations attached to the JDK 1.8 (C:\…), some issues will not be found 雖然項(xiàng)目運(yùn)行沒問題但是也是很不爽的,以下是解決辦法。
1.關(guān)閉Android studio
2.打開 C:\Users\UserName.android 刪除build-cache
3.打開 C:\Users\UserName.AndroidStudio3.2\system
刪除以下文件夾
caches
compiler
compile-server
conversion
external_build_system
frameworks
gradle
resource_folder_cache
4.如果Android studio中的java文件突然出現(xiàn)標(biāo)簽化的亂碼吧慢,并且修改編碼格式無效添履,也可以試一下以上方法穆桂。