Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can we use Android studio for AOSP development?

Can we use Android studio for AOSP(Android Open Source Project) development, is there a way to do it. I didnt find one. anybody got any idea on this please ?

like image 365
user755499 Avatar asked May 24 '13 04:05

user755499


People also ask

Which IDE for AOSP?

ipr in IntelliJ. If you already have the project open, hit the sync button in IntelliJ, and it will automatically detect the updated configuration. If you get unexpected compilation errors from IntelliJ, try running "Build -> Rebuild Project".

What is AOSP build?

Android Build system mainly contains Make files, Shell scripts, and Python scripts. The most important one is Make files. From Android 6 (M, API 23) AOSP master platform builds with ninja instead of ofGNU make and in Android 7 (N, API 24, 25), ninja and Kati become default build system.


1 Answers

You can use Android Studio as a IDE for AOSP, since it's just a modified version of InteliJ's IDE.

from AOSP root:

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

Then just "Open Project" in Android Studio and select the android.ipr it generated.

like image 71
Pedlar Avatar answered Sep 30 '22 03:09

Pedlar