How can I pack my android app in .apk?

I need to email a colleague my Android app as .apk so that he can install and test it on the Samsung Galaxy Tab.

How can i do this?

+3
source share
3 answers

You should not distribute apk files that have not been signed. Here are the official instructions.

+2
source

This can be done from the command line using something like:

$ cd project
$ android update project --path .
$ ant release

This requires:

  • Installed Android SDK and subdirectory toolson the way.
  • Ant and in transit.

The result will be written to a subdirectory binas "project-release.apk".

+1
source

, .apk: APK Eclipse?. (.. Eclipse), bin .

If your friend needs a way to install .apk using the SDK tools, connect the phone via USB and run adb install appname.apk. Without the SDK tools, your friend can use an application like Installer .

+1
source

Source: https://habr.com/ru/post/1784142/


All Articles