0

我在根据他们的手册设置茧时遇到问题:http: //support.ludei.com/hc/en-us/articles/202568973-First-steps-with-CocoonJS-CLI

当我尝试这样做时:

cocoonjs plugin add com.ludei.webview.plus

我得到错误:

[CocoonJS] Executing command 'plugin add com.ludei.webview.plus'
[CocoonJS] Installing Webview+ in your Cordova Project.
[CocoonJS] The command `android` failed. Add the platform-tools/ as well as the tools/ directory to your PATH environment variable.

但我已经有了这些:

ANDROID_HOME=/home/gerard/adt-bundle-linux-x8664-20140702/sdk
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/gerard/gcc-arm-none-eabi-48-2014q3/bin:$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools

此配置适用于 phonegap,我现在正在尝试切换到 cocoonjs,但这似乎出错了。

谁能告诉我除了 PATH 问题还有什么问题?

4

0 回答 0