在尝试为 Android Studio 设置 PhoneGap 时,我运行了创建脚本:
./create /home/sander/development-tools/AndroidStudioProjects/DashClock com.sandernem.dashclock DashClock
并最终出现此错误:
An unexpected error occurred: ANDROID_BIN=”${ANDROID_BIN:=$( which android )}” exited with 1
所以我按照本指南在创建脚本中设置 ANDROID_BIN 变量。问题是,当我尝试自己设置它时,我最终会遇到以下错误:
No Android Targets are installed. Please install at least one via the android SDK
我应该将 ANDROID_BIN 设置为的确切路径是什么?