将Crosswalk添加到Ionic后,Android Build失败

离子添加Crosswalk兴奋,现在我的项目不会build立。 在更新和添加Crosswalk之前,该项目正在编译和工作。 任何人有任何build议,我可以如何纠正下面的错误? 我不喜欢回滚。 感谢上帝的版本控制:)

系统信息:

  • 操作系统:Windows 8
  • 节点版本:v0.10.32
  • Cordova CLI:4.2.0
  • Ionic版本:1.0.0-beta.14
  • 离子CLI版本:1.3.1
  • AngularJS v1.3.8

警告[Project::org.apache.cordova.engine.crosswalk:382300-xwalk_core_library]当前不支持NDK。 将来会提供替代scheme。

:mergeDebugResourcesC:\ Users \ platforms \ android \ build \ intermediates \ exploded-aar \ android.org.apache.cordova.engine .crosswalk \ rsgapp382300-xwalk_core_library \ unspecified \ debug \ res \ drawable-hdpi-v4 \ color_picker_advanced_select_handle.png

错误:无法打开PNG文件

错误:运行命令失败:C:\ Users \ AppData \ Local \ Android \ sdk \ build-tools \ 21.0.2 \ aapt.exe C:\ Users \ platforms \ android \ build \ intermediates \ exploded-aar \ android .org.apache.cordova.engine.crosswalk 382300-xwalk_core_library \ unspecified \ debug \ res \ drawable-hdpi-v4 \ color_picker_advanced_select_handle.png -o C:\ Users \ platforms \ android \ build \ intermediates \ res \ debug \ drawable- HDPI-V4 \ color_picker_advanced_select_handle.png

错误代码:42

输出:C:\ Users \ platforms \ android \ build \ intermediates \ exploded-aar \ android.org.apache.cordova.engine.crosswalk382300-xwalk_core_library \ unspecified \ debug \ res \ drawable-hdpi-v4 \ color_pick er_advanced_select_handle.png

错误:无法打开PNG文件

:mergeDebugResources失败

失败:生成失败,出现exception。

出了什么问题:执行任务'mergeDebugResources'失败。

错误:无法运行命令:C:\ Users \ AppData \ Local \ Android \ sdk \ build-tools \ 21.0.2 \ aapt.exe s -i C:\ Users \ platforms \ android \ build \ intermediates \ exploded-aar \ android.org.apache.cordova.engine.crosswalk 382300-xwalk_core_library \ unspecified \ debug \ res \ drawable-hdpi-v4 \ color_picker_advanced_select_handle.png -o C:\ Users \ platforms \ android \ build \ intermediates \ res \ debug \提拉 – HDPI-V4 \ color_picker_advanced_select_handle.png

错误代码:42

输出:C:\ Users \ platforms \ android \ build \ intermediates \ exploded-aar \ android.org.apache.cordova.engine.crosswalk382300-xwalk_core_library \ unspecified \ debug \ res \ drawable-hdpi-v4 \ color_picker_advanced_select_handle.png

错误:无法打开PNG文件

看起来像是这个问题类似的错误,这是在Windows上,path名称被限制为260个字符,所以移动到一个较短的path名称的目录应该解决您的问题。