I have Android Studio Beta. I created a new project with compile my old modules but when I tried launching the app it did not launch with the message:
Error:
Hi I have same issue tried almost everything. So, finally i resolved after 6 hour long struggle by debugging everything line by line.
classpath 'com.google.gms:google-services:3.0.0'
Google-services 3.0 Doesn't support firebase with Studio 3.0 with playServiceVersion: 11.6.0 or less.
implementation "com.google.firebase:firebase-messaging:$rootProject.ext.playServiceVersion"
implementation "com.google.firebase:firebase-core:$rootProject.ext.playServiceVersion"
implementation "com.firebase:firebase-jobdispatcher-with-gcm-dep:$rootProject.ext.jobdispatcherVersion"
Solution :
I have change google services to
classpath 'com.google.gms:google-services:3.1.1'
And it support firebase services.
Hopefully somebody save his/her time.