Reputation: 396
After upgrading Visual Studio Professional 2019 to version 16.9.2, when I try to deploy on Android Emulator api 28 (9.0), I get following error:
Error XA0130: Sorry. Fast deployment is only supported on devices running Android 5.0 (API level 21) or higher. Please disable fast deployment in the Visual Studio project property pages or edit the project file in a text editor and set the 'EmbedAssembliesIntoApk' MSBuild property to 'true'.
Before the upgrade, everything worked fine. This is really frustating!
Upvotes: 5
Views: 6218
Reputation: 2189
To solve this, I had to right-click on the Android project in the Solution Explorer, then in Options
-> Android Build
uncheck the Fast Assembly Deployment
option.
Then deploy the project on the Android emulator.
But after deploying it once, I went back to the settings and checked (i.e. ticked) the Fast Assembly Deployment option, and subsequent deploys worked fine.
I'm running Visual Studio for Mac 2022 version 17.0.1 (build 72).
Upvotes: 1
Reputation: 51
@AlwinBrabu, I think you meant "Project Properties" -> Android Options -> Uncheck Fast Deployment(debug mode only).
This worked for me, although this is a workaround. I do not consider it a solution.
Upvotes: 0
Reputation: 307
I had the same issue recently after adding images to my project found out that I had upper case letters as a name SomePicture.png renaming all images to lower case solved it.
Upvotes: 1
Reputation: 307
To correct this problem I had to
<EmbedAssembliesIntoApk>false</EmbedAssembliesIntoApk>
Note leave fast deploy checked.
Upvotes: 2
Reputation: 21
Go to >> Solution Properties>> Android Options>> Uncheck "Use Fast Deployment(debug mode only)"
Upvotes: 2