• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Applying the "adb shell pm setInstallLocation 2" command from a Mac

Hi!

How do I set the default location that apps are installed to on my Galaxy s5 Lollipop device FROM A MAC? I've been scouring the internet without much luck.

I have Android Studio app (w/ Java JDK & SDK Platform tools installed) No matter where I enter the "adb shell pm setInstallLocation 2" command from my terminal, it gives me a "command not found" error.

Ideas?
-Thanks!
 
I have used it on 4.4.2 and below on most devices. Like the desire 510 and a few other devices when requested by clients.
 
Hi!

How do I set the default location that apps are installed to on my Galaxy s5 Lollipop device FROM A MAC? I've been scouring the internet without much luck.

I have Android Studio app (w/ Java JDK & SDK Platform tools installed) No matter where I enter the "adb shell pm setInstallLocation 2" command from my terminal, it gives me a "command not found" error.

Ideas?
-Thanks!
Tip: it's easier to put the adb files in a folder on your desktop on the Mac. Then open terminal and drag the "adb" folder or whatever you want to name it into terminal. That way it points terminal directly at the folder you have the files in.
 
Last edited:
Back
Top Bottom