How to install an Android application on a real device without publishing and Eclipse?

后端 未结 9 900
太阳男子
太阳男子 2020-12-23 11:52

How can I install an application without any developer tools (Eclipse, Android SDK tools)?

I\'ve compiled and created an .apk file. Now I am gonna send this apk file

相关标签:
9条回答
  • 2020-12-23 12:27

    Try DeployGate. With the service you can generate a download page like this:

    https://dply.me/7hmric

    Then it will guide your friends to install your app and you can see how is going, e.g. which version is installed or updated, or app is crashed, in realtime.

    Though it's a very common question, there were no simple way to achieve it. Even if we can send people an APK file through whatever, they have to change the "Unknown Sources" setting before the installation. We have to take care of this kind stuff everyday. It's simply a waste of time. So we made DeployGate, a tester-friendly private app distribution service to help the developers just like you. :)

    Disclaimer: I'm a developer of the service.

    0 讨论(0)
  • 2020-12-23 12:27

    Hopefully you will find the answer from here Install Android application on Android Device

    Add your APK file to your device SD card and run it, you must allow to install non-market application on your device before you going to install.

    Go to Setting -> Application Setting ->Unknown Source and tick check box which will allow to install non-market application on your device

    0 讨论(0)
  • 2020-12-23 12:30

    If doing from a windows based server with IIS 7.

    Setup a website, with a page named default.asp

    Add this line to the asp page;

    Setup a mime with extension '.apk' and MIME type 'application/vnd.android.package-archive'

    When you connect to the page http://yourUrl.co.uk, it will automatically start the download, and include it in the download manager so it can be selected from the drop down menu using default installer.

    If the MIME isn't setup correctly then you will have to use a file explorer to open the apk with an installer.

    0 讨论(0)
  • 2020-12-23 12:33

    Step-1 : Run Application in AVD First, then Close it.

    Step-2 : See in bin/ folder contain AppNm.apk file.Just right click and copy it.

    Step-3 : Now Connect Your Phone with Pc and Turn USB Storage on from your phone.

    Step-4 : Now go to in your SD card Location and Paste it any location. just remember that location.

    Step-5 : Eject/Remove Your phone from pc and check your file in SD card

    Step-6 : Now click on it and install....

    0 讨论(0)
  • 2020-12-23 12:42

    You should set Settings -> Application -> Unknown sources to allow installation from non-Market. Then, once your application is published somewhere, you can download it an install it.

    0 讨论(0)
  • 2020-12-23 12:42

    Also you can use 'adb install ' to install apk's to your device.

    Though this approach requires you to have adb available on your computer and adb is part of the sdk.

    Another, easier approach, is using DropBox. This enables you to save the apk in the dropbox/public folder, create a URI from there and supply this to your friend. Then have him download the apk. Android will notify him when it's done, so he only has to click the notification and Android will ask him whether or not he wants to install this software.

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