How to install an APK file on an Android phone?

后端 未结 10 1680
梦毁少年i
梦毁少年i 2020-12-12 12:24

I have a simple \"Hello Android\" application on my computer (Eclipse environment), and I have built an APK file. How do I transfer the APK file to my Android phone for test

10条回答
  •  北海茫月
    2020-12-12 13:09

    Directly connect your Android device and select the USB debugging option in the device. Eclipse will itself find your device, and then just run the code.

    Or alternatively, paste your APK file in the Android SDK platform-tools folder and from the command prompt install it like this:

    D:......../platform-tools> adb install yourfile.apk.
    

提交回复
热议问题