Guest User

Untitled

a guest
Mar 18th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. Gradle instructions
  2. Alternatives:
  3. Unity
  4. C++
  5. The Google services plugin for Gradle loads the google-services.json file that you just downloaded. Modify your build.gradle files to use the plugin.
  6.  
  7. Project-level build.gradle (<project>/build.gradle):
  8.  
  9. buildscript {
  10. dependencies {
  11. // Add this line
  12. classpath 'com.google.gms:google-services:3.2.0'
  13. }
  14. }
  15. App-level build.gradle (<project>/<app-module>/build.gradle):
  16.  
  17. dependencies {
  18. // Add this line
  19. compile 'com.google.firebase:firebase-core:11.8.0'
  20. }
  21. ...
  22. // Add to the bottom of the file
  23. apply plugin: 'com.google.gms.google-services'
  24. includes Analytics by default help_outline
  25.  
  26. Finally, press "Sync now" in the bar that appears in the IDE:
Add Comment
Please, Sign In to add comment