-
Notifications
You must be signed in to change notification settings - Fork 426
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
[Help Wanted]: Issue with ./gradlew androidDependencies after upgrading to React Native 0.74 #2275
Comments
Post your two gradle files. |
Thanks for the fast response @christocracy , I edited the original issue with the gradle files. |
I would start installing the latest version: https://github.com/transistorsoft/react-native-background-geolocation/blob/master/CHANGELOG.md |
@christocracy as I said in the first message, installing the latest version doesn't change the issue at all. |
I suggest you carefully review the Setup Instructions and very correct edit your files to follow every step exactly as-directed. |
Yes, I checked the android setup earlier today, and just did it again.
I have tried including this in my setup, but the issue persists. I see it also asks to set |
I think you’ve likely messed something up in your upgrade of RN. I suggest you generate a simple hello-world and follow the setup instructions to make sure it works in a freshly generated app. |
Thanks for the suggestion—I went ahead and created a fresh React Native 0.74.7 project using: npx [email protected] init testproject --version 0.74.7 Then, I followed the setup instructions exactly as documented. After installing the dependency and running
This confirms that the problem is not related to my upgrade but rather something upstream. Given that this is reproducible in a clean project, could you take a closer look on your end? Let me know if you need any additional details to help investigate. |
I just generated a fresh hello-world, followed the Setup Instructions and it works.
|
|
I have no explanation for However,
|
Alright thanks. I guess I'll see if I can upgrade further to react native 0.75 |
Why not 0.77? |
Our project is currently on React Native 0.72, and upgrading three versions at once is already a significant jump. Given the size of our project, such an upgrade has historically introduced unforeseen issues with dependencies, so we prefer a more controlled approach to minimize risks. |
Required Reading
Plugin Version
4.17.6
Mobile operating-system(s)
What do you require assistance about?
Hello,
I recently upgraded my project to React Native 0.74. Running
npx react-native run-android
works fine, but when I executecd android && ./gradlew androidDependencies
, I encounter the following error:This happens even if I upgrade to the latest version of the package.
Could you please provide guidance on how to temporarily fix this? I want to migrate to future React Native versions, but this is a large project, so upgrading incrementally (even with patches) is necessary for us.
Any advice or workarounds would be greatly appreciated.
Thanks!
android/build.gradle
android/app/build.gradle
The text was updated successfully, but these errors were encountered: