I have downloaded Latest AOSP source code 5.1.1 and going to debug through Android Studio. I downloaded full source code, complied successfully and made android.ipr for Android Studio project. Unfortunately, I found many error on every codes. I see many red underline on many source code.
I followed the steps according to document at:
https://shuhaowu.com/blog/setting_up_intellij_with_aosp_development.htmlIt is appreciated if all of you guys can help me to solve the problem.
Thank you for your assistance.