Nit for galaxy phone
1. Get the Google Android SDK
– Unzip the file and place the folder onto your desktop or anywhere that can be easily accessed.
– find the platform tools folder (default, it should be : adt-bundle/sdk)
2. Find cmd/terminal (for mac)
– (for mac users) go to [System Preferences > Keyboard > Keyboard Shortcuts > Services]
and then check the box [New Terminal At Folder]
3. Go onto your Android phone and select USB debugging
– Go to [System settings > Developer Options] and select USB Debugging (if the option is grayed out, unplug your phone first)
Then:
1. Windows
– Open the folder called ” platform-tools”
– shift+right-click anywhere inside the folder and choose [Open Command Window Here]
Mac
– right-click the folder called “platform-tools” and choose [New Terminal At Folder]
2. Enter in the following
For Windows :
adb devices
adb shell pm set-install-location 2
adb shell pm get-install-location
For Mac : (note – there is a period before the slashes)
./adb devices
./adb shell pm set-install-location 2
./adb shell pm get-install-location
3. Check if you did it right
– if you did it right, the last output should say: 2 [external]