Configure Eclipse for a single AOSP or CyanogenMod application

Preamble: I am a Java Android developer. I know the standard Android development thread.

I want to start development for AOSP-CM. I follow the tutorial on importing all Java source code into Eclipse using a .classpath file provided with source code. Therefore, I have a Java Project with all the source code, and I can view and edit everything.

The next step is to install one Android project, for example, a phone application, to use the ADT plug-in function, such as a graphical GUI editor. I want to edit phone sources, build inside Eclipse and, above all, use the Eclipse debugger.

Maybe? Where can I find a guide or tutorial?

+5
source share
3

:

  • cd/path/to/android/root

    cp development/ide/eclipse/.classpath.

    chmod u + w.classpath

  • Java CM ( Android AOSP) " ".
, eclipse, , DDMS , (, com.android.calendar).
  • > ...
  • " Java", "".
  • , .. "android-debug" , .
  • "" . Host "localhost", Port 8700.
  • "", .

, 8700 , DDMS, , DDMS , .

+1

, Apollo, Cyanogenmod.

  • Android , //Apollo .
  • Android → .
0

, ADT java- AOSP. Ant, SDK. , private apis, SDK.

What worked for me - this is a great Java project, including all the frames, including the applications described in the Using Eclipse to view and edit the AOSP . Use the eclipse project to edit Java code, but then use the AOSP build system to create any changes I made.

If your goal is to use ADT layout tools for layout editing like regular sdk applications, I don’t think you can do this with this approach.

0
source

All Articles