-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Gradle DSL method not found: 'google()' #1033
Comments
Within Android Studio, open SDK Manager and make sure you've got the latest updates. You need Gradle 3+. |
@Ehesp I just found out that
I tried to upgrade the project gradle with this command but the another error came out.
It seems like the above command tries to download the newest gradle but at a point when it executes
|
Solve the problem, please refer this SO thread |
Issue
I was installing RNFirebase for my project, iOS works fine, was able to install and link correctly. However, I get this error as soon as I launch my Android Studio.
I followed the official installation guide and the issue persists. Tried to clean and rebuild the project to no avail.
I checked my .gradle directory, and I only found the previous gradle version (2.14.1), seems like it is unable to install the specified 4.4 version.
Below is the android files, if they are of any helpful.
Project-level gradle file
App-level gradle file
gradle-wrapper.properties
MainApplication.java
Environment
Application Target Platform: Android
Development Operating System: macOS High Sierra and Windows 10
Build Tools: Both
React Native version: 0.54.2
RNFirebase Version: 4.0.6
Firebase Module: N/A
The text was updated successfully, but these errors were encountered: