Trying to add adb to PATH variable OSX

前端 未结 14 1327
遇见更好的自我
遇见更好的自我 2020-11-28 18:04

I am trying to develop for android and I want to add the adb to my PATH so that I can launch it really easily. I have added directories before by f

14条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-28 18:33

    Just encase anyone finds this SO post when using Android Studio which includes the SDK has part of the App package (on Mac OSX).

    So as @davecaunt and @user1281750 noted but insert the following line to .bash_profile

    export PATH=/Applications/Android\ Studio.app/sdk/tools:/Applications/Android\ Studio.app/sdk/platform-tools:$PATH
    

提交回复
热议问题