Android Studio 提示错误:No IDEA annotations attached to the JDK 1.8... ...

Android Studio今天早上打开项目提示错误信息:

No IDEA annotations attached to the JDK 1.8 (C:\Program Files\Android\Android Studio\jre), some issues will not be found

解决

  1. 首先关闭Android Studio
  2. 打开计算机,转到C:\Users\UserName\.android文件夹,将build-cache文件夹重命名为build-cache.bak
  3. 转到C:\Users\UserName\.AndroidStudio3.2\system文件夹,并重命名下面的文件夹:Android Studio 提示错误:No IDEA annotations attached to the JDK 1.8... ..._第1张图片
  4. 重启Android studio 即可解决 包括乱码 not find default activity等问题
  5. 引起这些问题的原因可能是Android studio 不正常关闭引起的

你可能感兴趣的:(Android)