PhoneGap中文网

标题: 求助 ionic+phonegap 搭建项目遇到的问题 [打印本页]

作者: bulesky_2008    时间: 2015-6-15 21:50
标题: 求助 ionic+phonegap 搭建项目遇到的问题
大家好,本人新手,请求大家帮助,我用cordova5.1.1和ionic1.5 创建android项目,sdk版本是5.1.1.
在执行platform时,
输入 ionic platform add android
Downloading: https://github.com/driftyco/ioni ... ces/archive/master.
zip
[=============================]  100%  0.0s
Done adding default Ionic resources
Adding icons for platform: android
npm http GET https://registry.npmjs.org/cordova-android
npm http 304 https://registry.npmjs.org/cordova-android

Adding android project...
红色部分是不是有问题呢????

将项目导入到eclipse,显示如下两个问题。
The container 'Android Dependencies' references non existing library 'D:\Develop\appworkspace\myionicapp\platforms\android\CordovaLib\bin\mainactivity-cordovalib.jar'

The project cannot be built until build path errors are resolved
项目无法运行,百思不得其所。请求大家的帮助,多谢!
作者: admin    时间: 2015-6-15 22:27
http://bbs.phonegap100.com/thread-1574-1-1.html  

看看这个帖子的第一讲
作者: bulesky_2008    时间: 2015-6-16 19:11
多谢,我现在又遇到新的问题了。
ionic build android

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':classpath'.
   > Could not resolve com.android.tools.build:gradle:1.0.0+.





欢迎光临 PhoneGap中文网 (http://bbs.phonegap100.com/) Powered by Discuz! X3.2