nikhilelite
nikhilelite

Reputation: 311

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...

Upvotes: 6

Views: 7360

Answers (2)

videoguy
videoguy

Reputation: 1918

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.

Upvotes: 4

Yury
Yury

Reputation: 20936

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.

Upvotes: 4

Related Questions