问题
Usually if the apk is on my desktop, I would use adb install <path>
to get it on my Android device. Somehow I like to know if it is also possible if the apk is on the device. I imagine adb shell
would be a start, sadly tho, install <path>
afterward doesn't seem to work.
回答1:
adb shell
pm install /location/apk.apk
// if you want to remove the installation package
rm /location/apk.apk
来源:https://stackoverflow.com/questions/45412622/is-it-possible-to-install-apk-through-adb-if-the-file-is-on-the-android-device