I'm trying to create an application directly into the Android source code, it uses libraries and drivers created by me for different layers of AOSP. I follow the steps in http://source.android.com/source/using-eclipse.html and http://blog.simonstahl.com/2012/07/12/edit-the-core-android-source-code-in-eclipse.
- For this I executed the command make ECLIPSE-lunch, so this creates the file .classpath in {Android source root}.
- I turn off the automatic code compiling.
- I create a new Java Project in Eclipse using as workspace the {Android source root}.
- Then when I create a new Application Project in {Android source root}/devices/xxx/yyy/apps are some unresolved references. e.g. unresolved references to android.os.ServiceManager (included in the SDK) and R.layout.log_activity.
So, how can I work comfortably with a good code completion?
I have not idea of how to configure Eclipse to do it work fine! But I have correctly configured and added external sdk and ndk to it in Windows => Preferences => Android: SDK Location and NDK Location.
I'm using Nova 4.0 operating system (based on Ubuntu), my code includes Java files, AIDL files, XML files and C/C++ (JNI) files.
Thanks in advance...