Import an Android AOSP project into eclipse

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

The system for creating Android projects uses Android.mk files.

Is there an eclipse plugin that parses mk files and allows me to upload these projects to eclipse? basically import the Android.mk file ...

+6
source share
2 answers

You can import all Android sources into eclipse. Instructions are here . Then you have to make some changes (for example, enable android-common_intermediates / javalib.jar instead of google-common_intermediates / javalib.jar) and you will have the opportunity to evolve in eclipse.

Eclipse separates Android source files from multiple projects (I think according to classpath elements). If you want to change this behavior, you should look in that direction.

+4
source

If you tried the eclipse instructions on the original Android site, you probably already know that it leaves a lot of detail to the imagination.

The only thing you need to keep in mind is that the AOSP build does not work with eclipse. As long as you create your code from the terminal and use eclipse to edit / view / debug, you will have more productive sessions.

An article in Using Eclipse to View / Edit Android Platform Code explains this step by step.

+4
source

Source: https://habr.com/ru/post/903712/


All Articles