bulesky_2008 发表于 2015-6-15 21:50:55

求助 ionic+phonegap 搭建项目遇到的问题

大家好,本人新手,请求大家帮助,我用cordova5.1.1和ionic1.5 创建android项目,sdk版本是5.1.1.
在执行platform时,
输入 ionic platform add android
Downloading: https://github.com/driftyco/ionic-default-resources/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:48

http://bbs.phonegap100.com/thread-1574-1-1.html

看看这个帖子的第一讲

bulesky_2008 发表于 2015-6-16 19:11:08

多谢,我现在又遇到新的问题了。
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+.
页: [1]
查看完整版本: 求助 ionic+phonegap 搭建项目遇到的问题