Skip to content

Common problems and fixes

bosniak47 edited this page Oct 21, 2016 · 12 revisions

Problem:

Build fails and this error appears:

Severity Code Description Project File Line Suppression State Error An outdated of 'Android SDK Build-tools' is in use which this version of Android Support Library does not support. You must uninstall any 'Android SDK Build-tools' versions older than 23.0.0 from the 'Tools' section in your 'Android SDK Manager' You also need to install 'Android SDK Build-tools' version 23.0.0 or higher. Glimpse.Droid

Comment: Even if versions older than 23.0.0 from the 'Tools' section in the 'Android SDK Manager' are not installed. The error still appears.

Solution:

the tools were not installed according to SDK Manager, but they were still in C:\Program Files (x86)\Android\android-sdk\build-tools. I deleted all but 23.0.1 to get past this error.


Problem:

Deployment fails when running Droid Application

Solution:

Search Regedit in your computer Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Android The path originally was C:\Users[User]\AppData\Local\Android\android-sdk

Change to the Path that is set in Xamarin Visual Studio. Go to Tools -> Options -> Xamarin, Click on Change for Android SDK , Copy Path Path should look like something like this: C:\Users[User]\AppData\Local\Xamarin\Universal\AndroidSDK

Paste it in HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Android, and changing the SDK path to my Xamarin Mono Android SDK folder.

Run now and it should deploy properly.


Problem:

If you can't see the UI Tools in the designer view

Solution:

Go in tools -> options -> xamarin -> other -> click check now and see if u need a new version

Clone this wiki locally