Issue
I have been creating a Xamarin forms application using Visual studio 2019 for the past two months now however after completing the latest update for Visual Studio 2019, I am now receiving the following error when trying to build the application.
Error Xamarin.Android for Visual Studio requires Android SDK. Please click here to configure.
I thought that possibly the update had uninstalled Android SDK however below you can see that Android SDk is in fact installed.
As well as this, emulator 28.0.25
is also installed. Has anyone else had any issues with the Android SDK after the latest Visual Studio update?
I have read here that uninstalling the SDK should fix this issue however what do I uninstall? Would this be the Android SDK Tools + Android SDK Platform-tools + Android SDK Build-Tools?
Solution
To fix this issue I uninstalled Android SDK Tools
, Android SDK Platform-Tools
and Android SDK Build-Tools
and re-installed them. I then got the same error however looking into the logs located in C:\Users\<USER>\AppData\Local\Xamarin\Logs\XamarinDeviceManager
I found that there was a big error log stating how Component Android SDK Platforms were not found on the system.
I closed Visual Studio, cleaned the solution and built it and it seems to have fixed the bug.
Answered By - JamesS
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.