git clone git@github.com:dimilar/eadt.git /path/to/eadt
cd /path/to/eadt & make
(add-to-list 'load-path "/path/to/eadt")
(require 'android-autoloads)
(customize-variable 'android-armeabi)
(customize-variable 'android-environment-variables)
Optionally, if you plan to use the cmake as the build tools, please configure the two variables below
(setq android-cmake-include-file "/path/to/the/android.cmake")
(setq android-cmake-toolchain-file "/path/to/the/android.toolchain.cmake")
Usually, these two files is in the same folder as the lisp code.
(customize-variable 'android-device) or
(set-default android-device "the name of your device/emulator")
- Default key bindings are:
- C-c C-c b Compile the source code of a given android project
- C-c C-c i Install the binary program or apk to your device/emulator
- C-c C-c r Run the program or package on the device/emulator
- C-c C-c c Get rid of all the objects files, executables or apk
- C-c C-c u Remove the binary program or apk from your device/emulator
- C-c C-c d a Call the jdb to debug the Android activity
- C-c C-c d j Remotely debug the Java Native Interface with gdb
- C-c C-c d n Debug the binary program of the native project
- C-c C-c l ReLaunch the Android logging system
- C-c C-c e Start the emulator with some Android Virtual Device
- C-c C-c D Start the debugging tool DDMS (the Dalvik Debug Monitor Server)
The eadt fully supports android project management. If android SDK and targets are installed, command prompt and completion make it convenient to create and update an android project. Furthermore, cmake and make are added as two alternatives of build tools.
Eadt is integrated with powerful gud interface and allows to remotely debug native program, jni and activity.
Eadt allow user to compile, insatll, uninstall, run and clean a package according to different environment variables and build tools.