`
flycomos.lee
  • 浏览: 276884 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

如何在mac中创建android adb 环境

 
阅读更多

Create an environment variable (Optional)

  • 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 export PATH = $ { 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
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics