while adding the mapview to the layout, I am encountering the following error. How can I solve it?
Asked
Active
Viewed 96 times
2 Answers
0
You should add the Google Maps Play Services dependency in the app/build.gradle
file:
implementation 'com.google.android.gms:play-services-maps:18.0.0'
Remember also to configure you project to add a map into your app: https://developers.google.com/maps/documentation/android-sdk/config

dginelli
- 409
- 6
- 14
-
i did but didn't work. it's give same error again – erenjeager Nov 16 '21 at 09:49
0
After updating the SDK, the problem was solved.

Muhammad Dyas Yaskur
- 6,914
- 10
- 48
- 73

erenjeager
- 49
- 1
- 7