react-native-crosswalk-android icon indicating copy to clipboard operation
react-native-crosswalk-android copied to clipboard

Compile Error

Open bcalik opened this issue 8 years ago • 2 comments

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

bcalik avatar Feb 27 '16 22:02 bcalik