Open rogerbright opened 5 years ago
vectorDrawables.useSupportLibrary = true
it should be vectorDrawables.useSupportLibrary true
There is no '=' sign in app level gradle file.
@rogerbright how did you fix this? I'm having exactly the same issue with message unable to find valid certification path to requested target
We instead use react-native-image-picker and react-native-image-resizer.
Fixed mine. Issue was due to proxy setup and antivirus on my machine.
Version
Tell us which versions you are using:
Platform
Tell us to which platform this issue is related
Expected behaviour
react-native run-android should start the application without errors
Actual behaviour
FAILURE: Build failed with an exception.
Steps to reproduce
-- npm install --save react-native-image-crop-picker -- react-native link react-native-image-crop-picker -- Added to android/build.gradle: allprojects { repositories { mavenLocal() jcenter()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is ins url "$rootDir/../node_modules/react-native/android" } // for react-native-image-crop-picker maven { url 'https://maven.google.com' } maven { url "https://jitpack.io" } // -- google() } }
-- Added to android/app/build.gradle: defaultConfig { .. vectorDrawables.useSupportLibrary = true .. }
-- Added to android/app/src/main/AndroidManifest.xml:
Attachments
Love react-native-image-crop-picker? Please consider supporting our collective: 👉 https://opencollective.com/react-native-image-crop-picker/donate