I built an APK using Apache's Ant. I also used Ant to install it on a Cyanogenmod device:
$ cd Android-PRNG
Android-PRNG$ ant debug install
...
install:
[echo] Installing .../AndroidPrng-debug.apk onto default emulator or device...
[exec] 1476 KB/s (17773 bytes in 0.011s)
[exec] pkg: /data/local/tmp/AndroidPrng-debug.apk
[exec] Success
BUILD SUCCESSFUL
So I have the APK located at /data/local/tmp/AndroidPrng-debug.apk
.
The problem I am having is I cannot figure out how to run it. The APK does not show up in the Apps Launcher (that's somewhat expected). Cyanogenmod's FileManager v1.0.2 does not appear to let me navigate to /data/local
(that's not expected).
How, exactly, do I execute the APK I just pushed to the device?
I'm working this way because Eclipse and the Android plug-in are so broken they are basically unusable.
/data/app
and restart. If you have ADB or a terminal emulator in device, you can doam start -n com.android.packageinstaller/.PackageInstallerActivity -d "file:///data/local/tmp/AndroidPrng-debug.apk" --user 0
-- this would begin traditional sideloading of an APK.