我是因为用了crosswalk插件造成打包不了的问题
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_armv7DebugApkCopy'.
> Could not resolve org.xwalk:xwalk_core_library:22+.
Required by:
:android:unspecified
> Could not resolve org.xwalk:xwalk_core_library:22+.
> Failed to list versions for org.xwalk:xwalk_core_library.
> Unable to load Maven meta-data from https://download.01.org/crosswalk/releases/crosswa
lk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml.
> Could not GET 'https://download.01.org/crosswalk/releases/crosswalk/android/maven2/
org/xwalk/xwalk_core_library/maven-metadata.xml'. Received status code 503 from server: Service Unav
ailable
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more l
og output.
修要修改这个文件的配置platforms/android/cordova-plugin-crosswalk-webview/
dependencies {
compile xwalkSpec
}
替换
dependencies {
compile 'org.xwalk:xwalk_core_library:23.53.589.4'
}