Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
grvsingh789 opened this issue Nov 24, 2023 · 11 comments
Open

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

grvsingh789 opened this issue Nov 24, 2023 · 11 comments

Comments

@grvsingh789
Copy link

No description provided.

@Mr-Anonymous
Copy link

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
Copy link

Mr-Anonymous commented Jan 9, 2024

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
    }

@templatetuners
Copy link

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
    }

tried this, sill same error

@ascottk
Copy link

ascottk commented Nov 19, 2024

Is there a solution to this? Have tried all the above suggestions. Installed latest version. What to do?

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

Could not find com.dmcBig:mediapicker:.
Required by:
project :app
Could not find any matches for com.dmcBig:mediapicker:+ as no versions of com.dmcBig:mediapicker are available.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/dmcBig/mediapicker/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/dmcBig/mediapicker/maven-metadata.xml
- https://jitpack.io/com/dmcBig/mediapicker/maven-metadata.xml
- https://jcenter.bintray.com/com/dmcBig/mediapicker/maven-metadata.xml
Required by:
project :app

@kenfouo
Copy link

kenfouo commented Nov 25, 2024

@templatetuners , @ascottk
here is the content of my build-extras.gradle file. save the file in this path:
platforms/android/build-extras.gradle

repositories {
google()
mavenCentral()
maven {
url 'https://jitpack.io'
}
}

NB: make sure you are connected to the internet when you run the build

@ascottk
Copy link

ascottk commented Nov 26, 2024 via email

@kenfouo
Copy link

kenfouo commented Nov 26, 2024

Rename the file to build-extras.gradle
It should work now
Path : platforms/android/build-extras.gradle

@ascottk
Copy link

ascottk commented Nov 26, 2024 via email

@ascottk
Copy link

ascottk commented Nov 26, 2024 via email

@kenfouo
Copy link

kenfouo commented Nov 28, 2024

Hello @templatetuners , @ascottk , they have not updated the project on npm

do not use
cordova plugin add cordova-plugin-mediapicker-dmcsdk

but use this
cordova plugin add https://github.com/DmcSDK/cordova-plugin-mediaPicker.git

@ascottk
Copy link

ascottk commented Nov 29, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants