经过3天的挣扎,我无法安装ionic2。实际上它适用于版本为4.4.2
及更高版本的机器人(版本低于此版本,显示空白屏幕,论坛或github问题部分中的常见问题)。适用于android ex。 4.2.1
,我发现我应该安装 cross walk plugin 。但在那之后,我的应用程序不再构建了。
我找到了不同的解决方案,例如this或this one。但是,同样的错误。
运行时出错: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 ':_armv7DebugCompile'.
> Could not resolve org.xwalk:xwalk_core_library:16+.
Required by:
:android:unspecified
> Could not resolve org.xwalk:xwalk_core_library:16+.
> Failed to list versions for org.xwalk:xwalk_core_library.
> Unable to load Maven meta-data from https://jcenter.bintray.com/or
g/xwalk/xwalk_core_library/maven-metadata.xml.
> Could not GET 'https://jcenter.bintray.com/org/xwalk/xwalk_core
_library/maven-metadata.xml'.
> Connect to jcenter.bintray.com:443 [jcenter.bintray.com/5.15
3.35.248] failed: Connection timed out: connect
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
BUILD FAILED
Total time: 27.432 secs
option to get more log output.
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_armv7DebugCompile'.
> Could not resolve org.xwalk:xwalk_core_library:16+.
Required by:
:android:unspecified
> Could not resolve org.xwalk:xwalk_core_library:16+.
> Failed to list versions for org.xwalk:xwalk_core_library.
> Unable to load Maven meta-data from https://jcenter.bintray.com/or
g/xwalk/xwalk_core_library/maven-metadata.xml.
> Could not GET 'https://jcenter.bintray.com/org/xwalk/xwalk_core
_library/maven-metadata.xml'.
> Connect to jcenter.bintray.com:443 [jcenter.bintray.com/5.15
3.35.248] failed: Connection timed out: connect
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
有什么想法吗?
还有一个问题。为什么ionic2不支持android低于版本4.4.2
?