Got some notes from my colleague JB Brock on yesterday's blog entry:
- The process you describe will build the release apk, but if you
click on the Run icon in NB, it will use the sim-android ant target
and that is still defaulted to debug. It does not run the release
apk on your device unless you add the --release to the sim-android
target as well.
- When you set the --release to the sim-android target, it does indeed
create the release apk, but it fails to launch on the device if you don't have the proper certificates installed.
ERROR: Failed to launch application on device: ERROR: Failed to
install apk to device: pkg:
So, while you can build it with --release, you cannot deploy it
unless you have the proper keys setup. That is another thing to