I have my Android device connected to my laptop and When I try to run:
adb shell pm set-install-location 2
I am getting this error:
After "adb devices" just type "adb shell" (enter) then type "su" (enter and accept on the phone display), This enables SuperUser. Now you can type "pm set-install-location 2" Verify the new destination with "pm get-install-location"