首页 新闻 赞助 找找看

使用cordova 打包android报错,如何解决?

0
[待解决问题]

使用cordova 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 ':_debugCompile'.
> Could not find any version that matches com.android.support:support-v4:+.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/support-v4/maven-metad ata.xml
https://repo1.maven.org/maven2/com/android/support/support-v4/
https://jcenter.bintray.com/com/android/support/support-v4/maven-metadata .xml
https://jcenter.bintray.com/com/android/support/support-v4/
file:/C:/Users/sinno/Desktop/bookApp/bookApp/platforms/android/libs/
Required by:
:android:unspecified

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug op tion to get more log output.

BUILD FAILED

Total time: 58 mins 1.444 secs
Error: Error code 1 for command: cmd with args: /s,/c,"C:\Users\sinno\Desktop\book App\bookApp\platforms\android\gradlew cdvBuildDebug -b C:\Users\sinno\Desktop\book App\bookApp\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useD eprecatedNdk=true"

whiteMu的主页 whiteMu | 菜鸟二级 | 园豆:204
提问于:2016-11-04 16:08
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册