How can I send an Android app that I'm developing to someone over e-mail?

后端 未结 9 753
[愿得一人]
[愿得一人] 2020-12-29 11:10

This is my first Android app. I need to email what I have so far to someone for testing.

How should I do I export the app and attach it, so it is not being treated a

相关标签:
9条回答
  • 2020-12-29 11:16

    You can also right-click on your project (in eclipse) and click on export then select "Export Android Application" and give all the details... after you finish you will have a myAppName.apk, which you can email

    0 讨论(0)
  • 2020-12-29 11:21

    In Android Studio build with "build"->"Build Bundle"->"Build APKs" which you'll find in the folder app/build/outputs/apk/debug then.

    You cannot attach the file in your email directly, since APKs are treated as junk by most email providers. So upload the apk somewhere and send the link to your co-worker.

    If a link is not enough, with a simple trick, you can send the file anyway:

    1. Rename the file: attach .bin at the end of the filename (i.e. myApp.apk.bin)
    2. send the fake .bin file
    3. Tell the receiver, that they have to rename it to plain .apk before installing. (On android renaming is possible with a file-manager, i.e. like Totalcommander)
    0 讨论(0)
  • 2020-12-29 11:26

    If you are using Eclipse run the app on the emulator to test it. Now Eclipse should have created a bin folder in your project folder. In this folder you will find an apk file that contains your app.

    Just send this file to your friend via email. He know can install the file on the emulator if he has one running. If not he can just plugin his phone via usb move the file to the SD-Card remove the USB connection and then navigate to the file on his SD-Card with a file browser like ASTRO and select the, item now the application manager should show up and he can install the app. If this does not work he has to go to settings -> applications -> and enable unknown sources.

    0 讨论(0)
  • 2020-12-29 11:26

    The simple answer is it is very simple, Droid devices understand what an APK is. So, tell your friend to Check "Enable Unknown Sources" currently in Settings->Security (not Settings-> Applications as of now.) Then email them the APK. Upon receiving it, Droid will either get it installed, or they can download it to downloads, where they can also install it from. Accept the Permissions, and off you go.

    0 讨论(0)
  • 2020-12-29 11:28

    I assume you are using Android Studio for application development.

    Follow these steps:

    Go to "build" from the navigation bar in Android Studio.

    Go to "build bundle(s)/APK(s)" from the drop down that appears.

    Click on "build APK(s)". You will get a notification box at the bottom right of your screen.

    Click on "locate". Two files will appear. One is a ".json" file and one is an ".apk" file.

    Send these files to your friends on WhatsApp and tell them to download the JSON file and install the APK file. Now your application is running.

    You are done.

    0 讨论(0)
  • 2020-12-29 11:33

    Much simpler method:

    1. Put the apk on your web server
    2. Create a QR Barcode image using: http://chart.apis.google.com/chart?cht=qr&chs=150x150&chld=H|1&chl=http://myserver/myapp.apk
    3. Then send him that barcode in an email and tell him to scan it using the barcode reader app.

    The barcode reader app will see the barcode and provide a hyperlink for the user to click. They click the link and the app downloads and installs.

    0 讨论(0)
提交回复
热议问题