读书人

怎么在mac中创建android adb 环境

发布时间: 2012-08-11 20:50:31 作者: rapoo

如何在mac中创建android adb 环境

Create an environment variable (Optional)

Open TerminalType cd ~ this will take you to your home directoryType touch .profile this will create a hidden file named profileType open -e .profile this will open the file you just created in TextEditIn the file, type export PATH=${PATH}:/pathToTheAndroidSdkFolder/android-sdk-mac_86/platform-toolsSave file, close TextEdit, Quit Terminal, and Relaunch TerminalNOTE: By creating an environment variable you won’t need to cd to the Android/tools folder every time you want to run ADB

读书人网 >其他数据库

热点推荐