0

I'm using Android Studio 2.2 Beta and trying to pull down the latest firebase libraries for cloud messinging but keeps running into errors.

failed to resolve: com.google.firebase:firebase-core:9.4.0

Any ideas what I need to do? I have Android SDK 6 and 7, Tools (Preview Channel), and Tools (Rev. 23, 24, 25) installed. I'm stuck hard.

bxiong
  • 179
  • 1
  • 10
  • From https://firebase.google.com/docs/android/setup // ADD THIS AT THE BOTTOM apply plugin: 'com.google.gms.google-services' you really need to do it in that order. add it in the bottom – ketrox Aug 25 '16 at 20:03
  • I think [this thread](http://stackoverflow.com/questions/25529865/java-lang-illegalargumentexception-can-only-use-lower-16-bits-for-requestcode) will help you. – ReyAnthonyRenacia Aug 26 '16 at 11:16

1 Answers1

0

Go to the Menu bar > Tools > Android > SDK Manager Click on Tab > SDK Tools Check and install 'Google Play Services' and 'Google Repository' Now, click Sync and build your project again.

Jithish P N
  • 1,970
  • 3
  • 26
  • 39