简体   繁体   English

无法建立“ HelloWorld”项目

[英]Can't build “HelloWorld” project

I've installed PhoneGap the first time and trying to build the "HelloWorld" Project but it fails ever time. 我是第一次安装PhoneGap并尝试构建“ HelloWorld”项目,但它一次都失败了。 Even if I only create a new project, add Android as platform and directly after it trying to build. 即使我仅创建一个新项目,也要在尝试构建后直接将Android添加为平台。

I use the following commands: - cordova create hello com.example.hello HelloWorld - cd hello/ - cordova platform add android - phonegap local build android 我使用以下命令:-cordova创建hello com.example.hello HelloWorld-cd hello /-cordova平台添加android-phonegap本地构建android

Error: http://pastebin.com/VgKTUnfp 错误: http//pastebin.com/VgKTUnfp

Cordova for Android requires the Android SDK which could be installed on OS X, Linux or Windows operation system. Cordova for Android需要Android SDK,该SDK可以安装在OS X,Linux或Windows操作系统上。 See the Android SDK's System Requirements. 请参阅Android SDK的系统要求。

http://developer.android.com/sdk/index.html#Requirements http://developer.android.com/sdk/index.html#Requirements

该问题是特定于系统的-我花了很多时间才能找到解决方法:

sudo update-ca-certificates -f

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM