生成错误运行科尔多瓦平台添加的android科尔、错误、多瓦、平台

由网友(□_虚伪的情调↗)分享简介:我试图按照以下链接创建一个Android的PhoneGap项目:http://docs.phonegap.com/en/edge/guide_platforms_android_index.md.htmlI'm trying to create an Android PhoneGap project accordin...

我试图按照以下链接创建一个Android的PhoneGap项目:http://docs.phonegap.com/en/edge/guide_platforms_android_index.md.html

I'm trying to create an Android PhoneGap project according to the following link: http://docs.phonegap.com/en/edge/guide_platforms_android_index.md.html

但是,当我运行命令:

cordova platform add android

我得到以下的输出:

I get the following output:

Checking Android requirements...
Creating android project...
[Error: An error occured during creation of android sub-project. Looks like your environment fully supports cordova-android development!
Creating Cordova project for the Android platform:
Path: platforms/android
    Package: com.example.hello
    Name: HelloWorld
    Android target: android-17
Building cordova-3.2.0-rc1.jar

{ [Error: Command failed: 
BUILD FAILED
/path/to/adt/sdk/tools/ant/build.xml:653: The following error occurred while executing this line:
/path/to/adt/sdk/tools/ant/build.xml:698: null returned: 127

Total time: 1 second
] killed: false, code: 1, signal: null }
]

是否有人知道如何摆脱这种错误?

Does anybody know how to get rid of this error?

推荐答案

我有完全一样的错误信息。 在我的情况下,lib32stdc ++没有安装在我的Ubuntu,安装完毕后,作为一切工作的目的。

I have exactly the same error message. in my case, the lib32stdc++ was not installed in my ubuntu, after installation, all work as intended.

sudo apt-get install lib32stdc++6

希望这能解决你的问题。

Hope this could resolve your problem.

阅读全文

相关推荐

最新文章