Reputation: 5391
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?
Upvotes: 3
Views: 21175
Reputation: 10918
You shouldn't distribute apk files that have not been signed. Here are the official instructions.
Upvotes: 1
Reputation: 4255
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.
Upvotes: 1
Reputation: 122458
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'.
Upvotes: 1