Compile Error
I get following error while compiling.
I have copied the xwalk_core_library-16.45.421.19.aar file from node_modules into /android/app/libs directory.
But I think the required version is different while compiling.
What should I do?
$ react-native run-android
JS server already running.
Building and installing the app on the device (cd android && ./gradlew installDebug)...
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> A problem occurred configuring project ':react-native-crosswalk-android'.
> Could not resolve all dependencies for configuration ':react-native-crosswalk-android:_debugCompile'.
> Could not find :xwalk_core_library-14.43.343.25:.
Searched in the following locations:
file:/Users/burak/.m2/repository//xwalk_core_library-14.43.343.25//xwalk_core_library-14.43.343.25-.pom
file:/Users/burak/.m2/repository//xwalk_core_library-14.43.343.25//xwalk_core_library-14.43.343.25-.aar
https://jcenter.bintray.com//xwalk_core_library-14.43.343.25//xwalk_core_library-14.43.343.25-.pom
https://jcenter.bintray.com//xwalk_core_library-14.43.343.25//xwalk_core_library-14.43.343.25-.aar
file:/Volumes/data/mobile/BurakProject/node_modules/react-native-crosswalk-android/libs/xwalk_core_library-14.43.343.25-.aar
file:/Volumes/data/mobile/BurakProject/node_modules/react-native-crosswalk-android/libs/xwalk_core_library-14.43.343.25.aar
file:/Volumes/data/android-sdk-macosx/extras/android/m2repository//xwalk_core_library-14.43.343.25//xwalk_core_library-14.43.343.25-.pom
file:/Volumes/data/android-sdk-macosx/extras/android/m2repository//xwalk_core_library-14.43.343.25//xwalk_core_library-14.43.343.25-.aar
file:/Volumes/data/android-sdk-macosx/extras/google/m2repository//xwalk_core_library-14.43.343.25//xwalk_core_library-14.43.343.25-.pom
file:/Volumes/data/android-sdk-macosx/extras/google/m2repository//xwalk_core_library-14.43.343.25//xwalk_core_library-14.43.343.25-.aar
Required by:
BurakProject:react-native-crosswalk-android:unspecified
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 4.608 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html
yes, I made a error from build.gradle, u can change that version or use the newest version for crosswalk 17.46.448.10
Facing compilation error MainApplication.java:27: error: incompatible types: <anonymous ReactNativeHost> cannot be converted to Activity new RNWebViewPackage(this)
And when I remove 'this' MainApplication.java:27: error: constructor RNWebViewPackage in class RNWebViewPackage cannot be applied to given types; new RNWebViewPackage()
"react": "^16.0.0-alpha.6", "react-native": "^0.44.0", "react-native-crosswalk-android": "0.0.5",