Because eclipse blows at everything except editing Java.
Create a script deploy.sh
in your source directory like so:
adb uninstall info.guardianproject.gpg
adb install bin/GnuPrivacyGuard-debug.apk
adb shell am start -n info.guardianproject.gpg/info.guardianproject.gpg.GnuPrivacyGuard
TODO
-
Edit your AndroidManifest.xml
Add the
android:debuggable="true"
attribute to your<application ..>
tag.Example before:
<application android:icon="@drawable/icon" android:label="@string/app_name">
After:
<application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="true">
-
Enable debug build in Android.mk
Add
APP_OPTIM := debug
to your jni/Android.mk file.
TODO