There is no permanent solution as of now, as the answer referenced by Shashanth in the comments states,
Changing classpath 'com.google.gms:google-services:4.3.0'
to classpath 'com.google.gms:google-services:4.2.0'
works for now
On the other hand, if you're asking this since you're working with Sceneform
and Firebase is unable to be configured. Then this is an open issue, with the following 'potential fix'.
You can switch off Sceneform plugin, sync and try to connect to Firebase again - must be success now.
After successful connection to Firebase you can return your plugin and resync. Warning will appear again, but it is not important, because Firebase has configured already.
P.S - This is probably an issue in the google services, which they'll fix in the future versions, so as long as it doesn't break anything, you shouldn't really need to worry.