react-native-background-geolocation: Help! Could not find support-v4.jar (com.android.support:support-v4:26.1.0)??
Your Environment
- Plugin version:
"react-native-mauron85-background-geolocation": "0.4.1"
- Platform: Android
- OS version: Android 7.0
- Device manufacturer and model: SAMSUNG A7
- React Native version:
"react-native": "0.50.3"
- android’s
build.gradle
compileSdkVersion 23, buildToolsVersion "23.0.2"
Context
Can not build project, this error shown
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApk'.
> A problem occurred configuring project ':react-native-mauron85-background-geolocation'.
> Could not find support-v4.jar (com.android.support:support-v4:26.1.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/support-v4/26.1.0/support-v4-26.1.0.jar
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 20
move jcenter() after maven(). It works for me.
I can confirm that I could get my build moving jcenter() AFTER google() repo.
Dont know why… but this works for me…
I am facing the same problem. What I’ve found so far is that https://jcenter.bintray.com/com/android/support/support-v4/26.1.0/support-v4-26.1.0.jar return a 404 and the support-v4/ directory has only a maven-metadata.xml file. If I move jcenter() after the other repos, the app builds but I’m not sure this a solution since I still cannot get a working Android build.
Build success by https://github.com/mauron85/react-native-background-geolocation/issues/116#issuecomment-340258780
@lfiorini @mauron85 @catcheshirecat after apply you guys tip I found another error which similar to #210 but here is my detail
already stuck here for weeks. please help 💯
Thank you so much!
Try https://github.com/airbnb/lottie-react-native/issues/203#issuecomment-334476435 It works for me finally
@mauron85 still not working brother 😦