Gradle Build Failed. Android resource linking failed.

i am facing “Gradle Build Failed. Android resource linking failed.” this error after importing facebook sdk i already have plugins of admob if i use both of them at once then error occurs otherwise if i use only facebook sdk or admob plugins then it does not happen

How to remove all duplicated aar file ,is it Assets/AndroidServicesResolver/Android/DeleteResolvedLiberary

i fixed this problem by this method:

  1. goto Assets/AndroidServicesResolver/Android/ForceResolve
  2. once resolution is done, remove all duplicate aar files.
  3. now build. its working.