AOSP and IntelliJ IDEA

后端 未结 4 1855
旧时难觅i
旧时难觅i 2020-12-28 09:09

Has anyone tried to work with AOSP using IntelliJ IDEA? I see in Android sources a specific folder (development/ide/intellij) but I cannot find any information how to use it

4条回答
  •  悲&欢浪女
    2020-12-28 09:29

    Run the below command from the Android source root directory.

    make idegen -j4 && development/tools/idegen/idegen.sh
    

    Then launch IntelliJ idea, and select the .ipr file generated. Then on the next screen select the .ipr based project property.

    Works for me and better than using the android studio, because there is an annoying background scan all the time with the android studio.

提交回复
热议问题