cordova-plugin-mediaPicker icon indicating copy to clipboard operation
cordova-plugin-mediaPicker copied to clipboard

Could not find com.github.DmcSDK:MediaPickerPoject:v4.0.

Open grvsingh789 opened this issue 1 year ago • 3 comments

grvsingh789 avatar Nov 24 '23 16:11 grvsingh789

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

Mr-Anonymous avatar Jan 09 '24 10:01 Mr-Anonymous

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
    }

Mr-Anonymous avatar Jan 09 '24 12:01 Mr-Anonymous