After 3 days of struggling , I am not able to install ionic2. Actually it works for androids with version 4.4.2
and above (in versions less than this, shows a blank screen, a common problem in forum or github issue part). For working in android ex. 4.2.1
, I found out that I should install cross walk plugin. But after that, my app didn't build anymore.
I found different solutions, like this or this one. But again, the same errors.
My error while running: 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.
Any idea?
And one more question. Why ionic2 doesn't support android less than version 4.4.2
?