Android shows error when we Add new Library

  • Replies:5
Muhammad Bilal
  • Forum posts: 2

Sep 21, 2017, 9:07:35 PM via Website

Error Failed to resolve: com.google.android.gms:play-services-maps:11.4.0

I am facing above mentioned error when add this library in Module:app. So, please help me how to remove this error now.

Reply
johnny R
  • Forum posts: 10

Oct 16, 2018, 9:40:35 PM via Website

did you update your android plugin

Reply
seran
  • Forum posts: 5

Nov 29, 2018, 10:22:07 AM via Website

how do you fix it

Reply
Deactivated Account
  • Forum posts: 819

Nov 29, 2018, 11:33:51 AM via Website

Turn off the notifications for that app.
You will find it in settings under all apps.

Reply
niketathakare
  • Forum posts: 14

Dec 11, 2018, 6:57:05 AM via Website

Firebase Android SDKs and Google Play Services libraries now have independent version numbers, allowing for more frequent, flexible updates. Update the google play service gradle plugin version to latest version (at least 3.3.1).

classpath 'com.google.gms:google-services:4.0.1'
and update the libraries to the latest version.

Reply
niketathakare
  • Forum posts: 14

Dec 13, 2018, 11:01:11 AM via Website

To do this remove android-support-v4.jar file form both library and your main projects build path and then remove android-support-v4.jar from your libs path. Then reinsert same android-support-v4.jar in both library and main project. Then use add to build path to add lib to your projects.

This will solve your problem.

Reply