Thursday, November 7, 2019

how to install app-debug.apk file into android phone using command prompt shell

#-t is test only
#-r is reinstall
adb devices
List of devices attached
06157df6848f6a14        device
LGMS55017965c0d device
f89c9b8f        device

adb push app-debug.apk /tmp/
pm install /tmp/app-debug.apk
#if Failure [INSTALL_FAILED_INVALID_URI]

#then use android phone shell command
adb -s 06157df6848f6a14 shell
pm install -t -r /sdcard/Download/app-debug.apk

or using Terminal Emulator App


No comments: