Closed tanghua93 closed 6 years ago
I am also getting this issue.
I have a reference to maven already in my project/build.gradle which has been suggested as a solution to this issue previous.
maven { url "$rootDir/../node_modules/react-native/android" }
I tried another solution which was to include multiple maven references
maven { url "https://jitpack.io" } maven { url "$rootDir/../node_modules/react-native/android" }
but this caused another issue on build regarding PickerPackage not being found.
Thanks,
as stated in the readme file, to the project build.gradle add
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
}
allprojects { repositories { jcenter() maven { url "https://jitpack.io" } } }
==》cut no ice
@ivpusic Thanks,
@kriswuwenxiang I cause another error u.u
Version
Tell us which versions you are using:
Platform
Tell us to which platform this issue is related
Actual behaviour
FAILURE: Build failed with an exception.
FAILURE: Build failed with an exception.
What went wrong: A problem occurred configuring project ':react-native-image-crop-picker'.
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: 13.033 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
Attachments
// stacktrace or any other useful debug info
Love react-native-image-crop-picker? Please consider supporting our collective: 👉 https://opencollective.com/react-native-image-crop-picker/donate