Reputation: 510
I uploaded an apk using adb
adb push myAppName.apk /sdcard/
to double check:
adb shell ls /sdcard/
sure enough, it's there. then:
adb install /sdcard/myAppName.apk
can't find '/sdcard/myAppName.apk' to install
Note* I tried adding the path in parentheses as suggested on an xda post but this didn't help.
Are there multiple sdcard directories where push defaults to one and install defaults to another? I tried using root explorer to find the files that adb install /sdcard/<TAB>
suggests but I can't file these files in any dir.
Upvotes: 0
Views: 6301
Reputation: 13143
Connect your device and the from the location where you have your app.apk do adb install app.apk
. It will install it to your device.
Upvotes: 0
Reputation: 12169
You can use:
adb shell pm install /mnt/sdcard/myAppName.apk
It will install apk from the device it self.
Please check Package Manager
here.
Upvotes: 1
Reputation: 93542
adb install takes a file on your pc to install it. It doesn't look on the phone.
Upvotes: 3