Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
513 views
in Technique[技术] by (71.8m points)

Found com.google.android.gms:play-services:8.4.0, but version 8.3.0 is needed for the google-services plugin

Can't use google maps because of above said error. Anyone find the same issue ?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Make sure that the following line is at the end of the app build.gradle file:

apply plugin: 'com.google.gms.google-services'

Mine was on the top and gradle was defaulting to 8.3.0 instead of what was specified: 8.4.0

My build.gradle files are the same as the ones in the Version conflict updating to 8.4.0


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...