Android Studio不显示某些来源

时间:2018-08-16 07:56:34

标签: android android-source

我下载了Android的API级别27来源,并且我想调试一些代码。但是由于某些原因,并非所有符号都可以解析(它们显示为红色)。存在导入,并且类源文件显示在Android / Sdk / sources中。另外,怪异的部分是,当我调试并尝试进入未解决的类符号的方法时,它实际上确实输入了源代码。

1 个答案:

答案 0 :(得分:-1)

You've already gone down the list of most things that would be helpful, but you could try:

Exit Android Studio
Back up your project
Delete all the .iml files and the .idea folder
Relaunch Android Studio and reimport your project
By the way, the error messages you see in the Project Structure dialog are bogus for the most part.