-1

If I start my Unity Project I get this message:

Unable to find the Android SDK manager tool.  Required Android packages (extra-google-m2repository) can not be installed.  Android SDK path not set.  Set the Android SDK property using the Unity "Edit > Preferences > External Tools" menu option on Windows or the "Unity > Preferences > External Tools" menu option on OSX. Alternatively, set the ANDROID_HOME environment variable
UnityEngine.Debug:LogError(Object)
GooglePlayServices.ResolverVer1_1:DoResolution(PlayServicesSupport, String, OverwriteConfirmation, Action)
GooglePlayServices.PlayServicesResolver:Resolve(Action)
GooglePlayServices.PlayServicesResolver:AutoResolve()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

But I installed the complete sdk and also set the path via Preferences. What Im doing wrong? My sdk is in the same folder as UNITY.

Unger Games
  • 11
  • 3
  • 10

2 Answers2

0

just check if the android sdk folder was configured correctly in Edit->Preference->External Tools

enter image description here

armnotstrong
  • 8,605
  • 16
  • 65
  • 130
0

I had almost the same issue. It all started to when i tried to install a unitypackage which includes a GooglePlayServiceResolver. And only happened in one project, while other projects don't complain about 'missing sdk'.

I had it solved by not using the GooglePlayServicesResolver included by the unitypackage. This is what i did : 1. Remove all files that was installed by the package, including the resolver. 2. Download and install latest resolver. 3. Re-import the package, but this time without the resolver since i already had the latest. My resolver ran automatically and resolved dependencies without complaining about missing Android SDK anymore.

billy.ori
  • 1
  • 1