0

I am Working with unity 5.3.4f1. I need to use google play service repo:37. This google play service use android m2repository and google m2repository. I have both installed from SDK manager still I am getting below error.

ERROR: Unable to find dependency com.android.support support-v4 23.1+ 
in     ($SDK\extras\android\m2repository, $SDK\extras\google\m2repository)
UnityEngine.Debug:Log(Object)
Google.JarResolver.PlayServicesSupport:Log(String, Boolean)
Google.JarResolver.PlayServicesSupport:FindCandidate(Dependency)
Google.JarResolver.PlayServicesSupport:LoadDependencies(Boolean, Boolean)
GooglePlayServices.ResolverVer1_1:DoResolution(PlayServicesSupport, String,     OverwriteConfirmation, Action)
GooglePlayServices.PlayServicesResolver:Resolve(Action)
GooglePlayServices.PlayServicesResolver:AutoResolve()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

How Can I solve this error.

extra/android/

Hellium
  • 7,206
  • 2
  • 19
  • 49
hardwork
  • 781
  • 7
  • 14

1 Answers1

0

Make sure that you use the correct version for the appcompat-v7 dependency. You can check this link.

The latest stable version of the above-mentioned dependency to now is:

    compile 'com.android.support:appcompat-v7:23.2.1'

Use it as above and make sure you installed/updated to the latest version in SDK Manager before.

You might also check the workaround on these links:

Community
  • 1
  • 1
abielita
  • 13,147
  • 2
  • 17
  • 59