cordova-plugin-mediaPicker
cordova-plugin-mediaPicker copied to clipboard
Could not find com.github.DmcSDK:MediaPickerPoject:v4.0.
I get this error too when I build for Android:
* What went wrong:
Execution failed for task ':app:mapReleaseSourceSetPaths'.
> Could not resolve all files for configuration ':app:releaseRuntimeClasspath'.
> Could not find com.github.DmcSDK:MediaPickerPoject:v4.2.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/github/DmcSDK/MediaPickerPoject/v4.2/MediaPickerPoject-v4.2.pom
- https://repo.maven.apache.org/maven2/com/github/DmcSDK/MediaPickerPoject/v4.2/MediaPickerPoject-v4.2.pom
- https://maven.google.com/com/github/DmcSDK/MediaPickerPoject/v4.2/MediaPickerPoject-v4.2.pom
Required by:
project :app
To resolve this, I added this to the repos list in platforms/android/app/repositories.gradle
file:
maven { //add this
url 'https://jitpack.io' //add this
}