for file in apk/*; 
do 
./adb install $file; 
done

 

如果是找不到adb , 就先在Terminal打下面的code, 把android studio sdk 先加到PATH就可以了。

If you've already installed Android Studio --

Add the following lines to the end of ~/.bashrc or ~/.zshrc (if using Oh My ZSH):

export ANDROID_HOME=/Users/$USER/Library/Android/sdk
export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools

Restart Terminal and you're good to go. 

 

arrow
arrow
    文章標籤
    iOS macbook adb
    全站熱搜

    lionlionchopper 發表在 痞客邦 留言(0) 人氣()