2013-10-13 137 views
0

我想添加android到我的項目,但我不斷收到這個錯誤,我在mac上,我不知道工具/文件夾是如何把我下載的SDK放在哪裏。科爾多瓦3.0.1不建設Android

sudo cordova platform add android 
    [Error: The command `android` failed. Make sure you have the latest Android SDK installed, and the `android` command (inside the tools/ folder) added to your path. Output: /bin/sh: android: command not found 
    ] 

回答

0

你試圖跳過這個命令,只是做一個科爾多瓦生成android?

+0

yes and does not work我已安裝的平臺:firefoxos,ios 3.1.0 可用的平臺:android,blackberry10 – RussellHarrower

+0

如果您安裝了android SDK,您可以使用此終端命令在您的mac上找到它:「sudo find/-name zipalign -print「 – Bart