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

Android build is failing with - Could not find me.relex:photodraweeview:1.1.3. #209

Open
vikashcora opened this issue Jan 29, 2022 · 3 comments · May be fixed by #210
Open

Android build is failing with - Could not find me.relex:photodraweeview:1.1.3. #209

vikashcora opened this issue Jan 29, 2022 · 3 comments · May be fixed by #210

Comments

@vikashcora
Copy link

Installed library from the master branch and getting this error every time while building

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeDebugAssets'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find me.relex:photodraweeview:1.1.3.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/me/relex/photodraweeview/1.1.3/photodraweeview-1.1.3.pom
       - file:/Users/apple/.m2/repository/me/relex/photodraweeview/1.1.3/photodraweeview-1.1.3.pom
       - file:/Users/apple/Documents/MyApp/node_modules/react-native/android/me/relex/photodraweeview/1.1.3/photodraweeview-1.1.3.pom
       - file:/Users/apple/Documents/MyApp/node_modules/jsc-android/dist/me/relex/photodraweeview/1.1.3/photodraweeview-1.1.3.pom
       - https://dl.google.com/dl/android/maven2/me/relex/photodraweeview/1.1.3/photodraweeview-1.1.3.pom
       - https://www.jitpack.io/me/relex/photodraweeview/1.1.3/photodraweeview-1.1.3.pom
     Required by:
         project :app > project :react-native-photo-view

React-Native-Version : 0.66.1

@Jarzka
Copy link

Jarzka commented Apr 11, 2022

Same here after trying to upgrade to React Native 0.65.2

* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find me.relex:photodraweeview:1.0.0.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/me/relex/photodraweeview/1.0.0/photodraweeview-1.0.0.pom
       - file:/Users/jarihan/.m2/repository/me/relex/photodraweeview/1.0.0/photodraweeview-1.0.0.pom
       - file:/Users/jarihan/Desktop/trex/trex-mobiili/node_modules/react-native/android/me/relex/photodraweeview/1.0.0/photodraweeview-1.0.0.pom
       - file:/Users/jarihan/Desktop/trex/trex-mobiili/node_modules/jsc-android/dist/me/relex/photodraweeview/1.0.0/photodraweeview-1.0.0.pom
       - https://dl.google.com/dl/android/maven2/me/relex/photodraweeview/1.0.0/photodraweeview-1.0.0.pom
       - https://www.jitpack.io/me/relex/photodraweeview/1.0.0/photodraweeview-1.0.0.pom
     Required by:
         project :app > project :react-native-photo-view
   > Could not find com.mapbox.mapboxsdk:mapbox-android-accounts:0.7.0.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/com/mapbox/mapboxsdk/mapbox-android-accounts/0.7.0/mapbox-android-accounts-0.7.0.pom
       - file:/Users/jarihan/.m2/repository/com/mapbox/mapboxsdk/mapbox-android-accounts/0.7.0/mapbox-android-accounts-0.7.0.pom
       - file:/Users/jarihan/Desktop/trex/trex-mobiili/node_modules/react-native/android/com/mapbox/mapboxsdk/mapbox-android-accounts/0.7.0/mapbox-android-accounts-0.7.0.pom
       - file:/Users/jarihan/Desktop/trex/trex-mobiili/node_modules/jsc-android/dist/com/mapbox/mapboxsdk/mapbox-android-accounts/0.7.0/mapbox-android-accounts-0.7.0.pom
       - https://dl.google.com/dl/android/maven2/com/mapbox/mapboxsdk/mapbox-android-accounts/0.7.0/mapbox-android-accounts-0.7.0.pom
       - https://www.jitpack.io/com/mapbox/mapboxsdk/mapbox-android-accounts/0.7.0/mapbox-android-accounts-0.7.0.pom
     Required by:
         project :app > project :react-native-mapbox-gl_maps > com.mapbox.mapboxsdk:mapbox-android-sdk:9.1.0

@jellynugget
Copy link

jellynugget commented Jun 17, 2022

for temporary solution , maybe can consider add this at build.gradle root level :

configurations.all {
    resolutionStrategy {
        // workaround : android build error 'Could not find me.relex:photodraweeview:1.1.3.' for 'react-native-photo-view'
        // see also https://github.com/alwx/react-native-photo-view/pull/210/files
        force 'me.relex:photodraweeview:2.1.0'
    }
}

@sungsong88
Copy link

for temporary solution , maybe can consider add this at build.gradle root level :

configurations.all {
    resolutionStrategy {
        // workaround : android build error 'Could not find me.relex:photodraweeview:1.1.3.' for 'react-native-photo-view'
        // see also https://github.com/alwx/react-native-photo-view/pull/210/files
        force 'me.relex:photodraweeview:2.1.0'
    }
}

Thank you so much!!

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

Successfully merging a pull request may close this issue.

4 participants