Thursday, January 12, 2012

Set up ADB environment in Mac OSX

  • Open Terminal
  • Type cd ~ this will take you to your home directory
  • Type touch .profile this will create a hidden file named profile
  • Type open -e .profile this will open the file you just created in TextEdit
  • In the file, type exportPATH=${PATH}:/pathToTheAndroidSdkFolder/android-sdk-mac_86/platform-tools
  • Save file, close TextEdit, Quit Terminal, and Relaunch Terminal
  • NOTE: By creating an environment variable you won't need to cd to the Android/tools folder every time you want to run ADB

No comments:

Post a Comment

[ROM] Samsung S7 Stock Firmware BRI (Taiwan台灣)

Latest ROM: G930FXXU1DQEU Download: https://kfhost.net/tpl/firmwares.php?record=B7E6DE774E3811E7963AFA163EE8F90B Reference: http://...