You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+19-3Lines changed: 19 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,16 +187,32 @@ placing `google-services.json` to `platforms/android/google-services.json` (see
187
187
the changes to `build.gradle` which are mentioned above as well.
188
188
189
189
#### Could not find com.google...
190
-
And there's this one: "Could not find com.google.firebase:firebase-auth:9.4.0". That means
190
+
And there's this one: "Could not find com.google.firebase:firebase-auth:10.0.+". That means
191
191
making sure you have the latest `Google Repository` bits installed.
192
192
Just run `android` from a command prompt and install any pending updates.
193
193
194
-
Also, an error like "Could not find com.google.firebase:firebase-core:9.0.0" can be caused by having
194
+
Also, an error like "Could not find com.google.firebase:firebase-core:10.0.0" can be caused by having
195
195
more than one version of the Android SDK installed. Make sure ANDROID_HOME is set to the Android SDK directory
196
196
that is being updated otherwise it will seem as though your updates have no effect.
197
197
198
-
#### Found play-services:9.0.0, but version 9.X.Y is needed..
198
+
#### Found play-services:9.0.0, but version 10.X.Y is needed..
199
199
Update your Android bits like the issue above and reinstall the android platform in your project.
200
200
201
+
#### `include.gradle`: Failed to apply plugin .. For input string: "+"
202
+
You probably have another plugin depending on Google Play Services (Google Maps, perhaps).
203
+
We need to pin to a specific play services version to play nice with others, so open `app/App_Resources/Android/app.gradle` and add:
204
+
205
+
```
206
+
android {
207
+
// other stuff here
208
+
209
+
project.ext {
210
+
googlePlayServicesVersion = "10.0.+"
211
+
}
212
+
}
213
+
```
214
+
215
+
Where `"10.0.+"` is best set to the same value as the version on [this line](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/blob/master/platforms/android/include.gradle#L23).
216
+
201
217
## Credits
202
218
The starting point for this plugin was [this great Gist](https://gist.github.com/jbristowe/c89a7bcae7fc9a035ee7) by [John Bristowe](https://github.com/jbristowe).
0 commit comments