What would I type in for adb to install an apk from a specific file path on my computer?
YEG you can just drag and drop the actual apk file in to cmd or powershell after typing in adb install
YEG On WebADB you can select the file that you want.
i know but how do i do it manually?
YEG navigate to the apk in file manager and then copy it from the address bar.
you might have to type "cd" and space before
practical before the apk or before the path? And can you write out the whole command please? Thank you for your help!
YEG On the left side of the screen simply click install apk then you can select the apk that you want. Have you ever used [Login to see the link] before?
YEG sorry for delay... i'm not sure in your case but you can give it a try.. so it's to type before the path like: "cd C:\Users\PRACTICAL\Pictures\Saved Pictures" or it could be: "cd \Users\PRACTICAL\Pictures\Saved Pictures"
TryingToBeHelpful basically I have a Android tablet with an adb app which connects through otg. The only way I can install apps is writing out the whole command including the path. But I don't know how to do that. Can someone help me?
YEG Did you try running WebADB on the tablet?
YEG You can longpress the file and click on properties. One of the properties should be parent or location. It would look something like /storage/emulated/legacy/download. You need to add a forward slash "/" then the file name "yourapp.apk.
lgexalter1
YEG it's usually storage/emulated/0/whatever....
lgexalter1 where does pm install -g go?
YEG you would write adb install -g path/to/your/apk/app.apk (no need for pm)
[Login to see the link] BTW this is all guesswork on my part. I have never tried to install from an adb app to another device. Let me know if it works.
lgexalter1 do I have to write cd anywhere in command?
YEG Again I never tried to install from a adb/terminal app on a tablet. But I can’t imagine why you would have to. Cd is used to navigate to a specific folder on a drive