How to fix error in this emulator? - xamarin

Am trying to generate emulator at visual studio 2017 and always this error appears .

Change the Build Action of 'storyoapp.png' to AndroidResource. Xamarin does not support the Content build action and will throw an error (Xamarin.Android Build Process information)

Related

Error creating Visual Studio 2022 preview network installer

I'm trying to create a Visual Studio 2022 preview network installer to reuse the installation media between multiple computers.
I'm following the instructions from this page, but I'm downloading the preview installer from the VS preview page.
When I try to create the network installer from an elevated command prompt with
vs_community.exe --layout D:\VS\Community2022preview --useLatestInstaller
I'm getting the error message
Download of 'https://aka.ms/vs/17/pre/channel' succeeded using engine 'WebClient'
Download of 'https://download.visualstudio.microsoft.com/download/pr/b3f0a1e5-a37b-49a5-9c42-8724caed1f7b/b6c95d2cc95b704820db1e1355cfb2d1d075a8acf8e38b1ddaf1dafedb269521/VisualStudioPreview.vsman' succeeded using engine 'WebClient'
Catalog load operation correlation: {"id":"2d2ff4dd-dc49-49c9-94c7-35b8d0e072a6"}
Exception of type 'Microsoft.VisualStudio.Setup.UpdateRequiredException' was thrown.
Error: Exception of type 'Microsoft.VisualStudio.Setup.UpdateRequiredException' was thrown.
at Microsoft.VisualStudio.Setup.Engine.CheckForEngineUpdate(Version manifestEngineVersion)
at Microsoft.VisualStudio.Setup.Engine.Load(String path, Boolean skipVerify)
at Microsoft.VisualStudio.Setup.Layout.Commands.LayoutCommand.InvokeCommand(CancellationToken token)
at Microsoft.VisualStudio.Setup.Layout.Program.Main(String[] args)
I googled Microsoft.VisualStudio.Setup.UpdateRequiredException, but I didn't find anything.
Should this work for the VS 2022 community preview version?
Am I missing something?
Thanks!
I had the same error message with Visual Studio Professional 17.3.0. I followed Rodrigo Juarez's suggestion of removing --useLatestInstaller and that solved the problem so that seems to be the solution to this particular error.

How to hand " An unhandled exception occured." visual studio Xamarin Android?

Sometimes a visual studio will not catch all Android error.
so I use the logcat inside visual studio
but it's somehow limited? is there and alternative
1.Open
C:\Program Files (x86)\Android\android-sdk\tools\lib\monitor-x86\monitor.exe
If not available, install it for the SDK tool
2.Chose the device
3.Chose the logcat
4.R-Click on the logs and chose filter
5.Filter by the app name  and log tag AndroidRuntime
6.google the error

VS 2017 RC cannot find cordova tools

after several unistalls and reinstalls processes of VS 2017 I'm still getting the following error (translated from spanish) when I try to compile for chrome emulator a new and empty project in vs 2017 RC:
MSBUILD : cordova-build error BLDErr_Build_ToolsetInstallation: Could not find the target tool set on the disk.
I've tried also to perform repair processes but the error still persists. Of course I've checked that android SDK, node, etc. are installed and the environment variables have the correct name and path.
Does anyone know how can force to find cordova tools or whatever it is looking for?
Big thanks in advance.
In my case this worked:
Go to visual studio installer(type it in windows start menu).
Choose to modify your installation of Visual Studio.
Go to indivudual components.
Choose to add cordova 6.3.1(at this moment) toolset.
Install and try to build your project.

"Unable to load one or more of the requested types" when creating new Xamarin application

I get this error when I create a new blank Android app in Visual Studio 2015.Full error is this:
Unable to load one or more of the requested types.
Retrieve the LoaderExceptions property for more information.
Any possible fix? I reinstalled both Visual Studio 2015 and Xamarin
Managed to fix it by clearing my AppData/Local folder and repairing Visual Studio, then running VS as admin for the first time

Remote Action Failed . 0x80073CF6

How to solve this error in deploy side load application UWP?
this problem solved by Update Visual Studio 2015 to Visual Studio 2015 Update 1.
Run again from console and i get different error message like this :
And then I have a package that makes error. So I unintsall that like this :
Install that package again and it working well.. :D

Resources