I need to email a coworker my android app as an .apk so that he can install & test it on his Samsung Galaxy Tab.
How can I do this?
I need to email a coworker my android app as an .apk so that he can install & test it on his Samsung Galaxy Tab.
How can I do this?
This can be done from the command line using something like:
$ cd project
$ android update project --path .
$ ant release
This requires:
tools sub-directory in the path.The result will be written into the bin sub-directory as 'project-release.apk'.
Follow this question's answers to obtain the .apk itself: How to build an APK file in Eclipse?. If you've built the project (i.e. with Eclipse) it exists in the project's bin directory.
If your friend needs a way to install the .apk, using the SDK tools then connect your phone via USB and run adb install appname.apk. Without SDK tools, your friend could use an app like Installer.
You shouldn't distribute apk files that have not been signed. Here are the official instructions.