Hi I am getting this strange error. After I open my react-native project on android studio, when I make sync android/app/build.gradle file, I am getting the error as shown above, I have no idea what is going on ? Gradle always sync failed
My platform is Android.
React-Native version is 0.58.5
Android studio version is 3.2.1
classpath 'com.android.tools.build:gradle:3.2.0'
classpath 'com.google.gms:google-services:4.0.1'
classpath 'com.google.firebase:firebase-plugins:1.1.5'
"react-native-firebase": "5.2.2",
Is there any solution ?
any solution?
Clean and rebuild project worked for me. However ,I am not sure the problem is gonna happen again or completely solved
+1. Same issue
This is the detail:
I think is related to this issue (cleaning the solution I got MultiDex error):
https://github.com/invertase/react-native-firebase/issues/2032
Cleaning the project you will get the real error
Make sure your app/build.gradle has react-native firebase in dependencies like this:
implementation project(path: ':react-native-firebase')
and not:
implementation project(path: ':react-native-firebase', configuration: 'default')
Make sure your app/build.gradle has react-native firebase in dependencies like this:
implementation project(path: ':react-native-firebase')
and not:
implementation project(path: ':react-native-firebase', configuration: 'default')
Thanks, it worked.
Hello 馃憢, to help manage issues we automatically close stale issues.
This issue has been automatically marked as stale because it has not had activity for quite some time. Has this issue been fixed, or does it still require the community's attention?
This issue will be closed in 15 days if no further activity occurs.
Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this is still present in the latest release, please feel free to create a new issue with up-to-date information.
Most helpful comment
Clean and rebuild project worked for me. However ,I am not sure the problem is gonna happen again or completely solved