Error after uninstall Android Studio

EnricoRossiniEnricoRossini USMember ✭✭✭✭
edited August 2016 in Xamarin.Android

Hi guys,
for an error on Android Studio, I uninstalled and reinstall it. Now in Visual Studio I'm receiving this error:

The "ResolveSdks" task failed unexpectedly.
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\Android\android-sdk\platforms'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator1.CommonInit() at System.IO.FileSystemEnumerableIterator1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.Directory.EnumerateDirectories(String path)
at Xamarin.Android.Tasks.ResolveSdks.GetMaxInstalledApiLevel()
at Xamarin.Android.Tasks.ResolveSdks.ValidateApiLevels()
at Xamarin.Android.Tasks.ResolveSdks.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()

In C:\Program Files (x86)\Android\android-sdk I don't have a folder called platforms but only platform-tools

Any ideas? Thank you in advance

Sign In or Register to comment.