简体   繁体   中英

Android AOSP project import into eclipse

So, this is not like other problems. I have basically one question

Android project build system uses the Android.mk files.

Is there any eclipse plugin out there that parses through the mk files and allows me to load those projects into eclipse ? essentially import Android.mk file project...

If you have tried eclipse instructions at Android source site, you probably would know by now that it leaves lot of details to imagination.

One thing you need to keep in mind is that AOSP build doesn't work with eclipse. As long as you build your code from terminal and use eclipse to edit/browse/debug purposes, you will have more productive sessions.

The article at Using Eclipse to browse/edit Android platform code explains this in step by step.

You can import the whole Android sources into eclipse. The instructions are here . Then you should make some modifications (for instance, include android-common_intermediates/javalib.jar instead of google-common_intermediates/javalib.jar) and you will have possibility to develop in eclipse.

Eclipse separates Android sources to several projects by itself(I think according to classpath entries). If you want to change this behavior you should look in this direction.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM