Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Phonegap 版本 2.4.0 - 当我使用 create 命令创建一个新项目时.. 我收到错误“您没有设置任何 android 目标。请使用 .android 命令创建至少一个目标”.. 不知道那是什么是?
我遇到了同样的问题,并通过安装 Android SDK Platform-tools 修复了它。
转到您的 android-sdk 文件夹并运行 SDK 管理器(我位于 C:\Program files (x86)\Android\android-sdk 中)并安装 Android SDK Platform-tools。
这会将 ADB 文件放在创建项目时运行的平台工具文件夹中。