android - Eclipse setup for a single AOSP or CyanogenMod java application -
android - Eclipse setup for a single AOSP or CyanogenMod java application -
preamble: java android developer. know standard android development flow.
i want start developing aosp-cm. follow guide import whole java source code in eclipse, using .classpath file provided source code. have java project source code, , can browse , edit everything.
the next step seek setup single android project, illustration phone application, in order utilize adt plugin feature gui graphical editor. want edit phone sources, build within eclipse , above utilize eclipse debugger.
it possible? can find guide or tutorial ?
my final solution is:
setup classpath
cd /path/to/android/root
cp development/ide/eclipse/.classpath .
chmod u+w .classpath create java project , select cm (or android aosp) base of operations folder instead of "use default location". now, in eclipse, can attach emulator, run ddms , select process want debug (for example, com.android.calendar).
run > open debug dialog... right-click "remote java application", select "new". pick name, i.e. "android-debug" or like. set "project" project name. maintain host set "localhost", alter port 8700. click "debug" button , should set.note port 8700 attached whatever process selected in ddms console, need sure ddms has selected process want debug.
android
Comments
Post a Comment