Developing AOSP with Android Studio

孤者浪人 提交于 2019-12-02 18:33:37

I always use these steps without any problem at all:

https://shuhaowu.com/blog/setting_up_intellij_with_aosp_development.html

The most important parts for your problem are:

  • Set the SDK with no libraries
  • In the Project Structure -> Module -> Remove all of the dependencies that ends with a .jar
  • As a bonus: go to the Sources tab and browse to out/target/common/R. Right click on it and click Source

In the link you can see screenshots that can make the steps easier to follow.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!