在 cordova 项目中构建 android 时出现人行横道错误
Crosswalk error on android build in cordova project
我有基于 backbone js 的基于 Cordova 的应用程序。
但是当我尝试创建 android build 时,它会给我以下错误。
[exec] > Could not resolve all dependencies for configuration ':_armv7DebugApkCopy'.
[exec] > Could not resolve org.xwalk:xwalk_core_library:23+.
[exec] Required by:
[exec] :android:unspecified
[exec] > Could not resolve org.xwalk:xwalk_core_library:23+.
[exec] > Failed to list versions for org.xwalk:xwalk_core_library.
[exec] > Unable to load Maven meta-data from https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml.
[exec] > Could not GET 'https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml'.
Received status code 403 from server: Forbidden
它似乎正试图从此 url 获取一些数据:https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml19
此时正在抛出 403。我尝试在关闭互联网访问的情况下构建它,以防只有在它可用时才有必要这样做,但它尝试并失败(显然)得到它。
此版本是否依赖于有效的互联网连接和可能可用或不可用的远程 xml 文件?
我也用 a solution from the ionic forum 测试过,在设备上安装构建后出现白屏。
我有基于 backbone js 的基于 Cordova 的应用程序。
但是当我尝试创建 android build 时,它会给我以下错误。
[exec] > Could not resolve all dependencies for configuration ':_armv7DebugApkCopy'.
[exec] > Could not resolve org.xwalk:xwalk_core_library:23+.
[exec] Required by:
[exec] :android:unspecified
[exec] > Could not resolve org.xwalk:xwalk_core_library:23+.
[exec] > Failed to list versions for org.xwalk:xwalk_core_library.
[exec] > Unable to load Maven meta-data from https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml.
[exec] > Could not GET 'https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml'.
Received status code 403 from server: Forbidden
它似乎正试图从此 url 获取一些数据:https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml19
此时正在抛出 403。我尝试在关闭互联网访问的情况下构建它,以防只有在它可用时才有必要这样做,但它尝试并失败(显然)得到它。
此版本是否依赖于有效的互联网连接和可能可用或不可用的远程 xml 文件?
我也用 a solution from the ionic forum 测试过,在设备上安装构建后出现白屏。