How to install an APK file on an Android phone?

后端 未结 10 1679
梦毁少年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:01

    For what its worth, installing a system app to the /system/app directory will be:

    adb push appname.apk /system/app/
    

    Just ensure you're in the right directory where the target .apk file to be installed is, or you could just copy the .apk file to the platform-tools directory of the Android SDK and adb would definitely find it.

提交回复
热议问题