6

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!

8
  • Is the deploy setting on Debug or Release? Commented Mar 25, 2021 at 13:11
  • 1
    Is in debug mode Commented Mar 25, 2021 at 13:42
  • there seems to be no issues then...did you tried deleting obj & bin folders of complete solution & restart the visual studio, close all active instances? Commented Mar 25, 2021 at 13:50
  • 2
    I have the same problem Commented Apr 2, 2021 at 15:47
  • I've same issue, VS Mac version 8.9.5 build 4 and Android version 7.0 Commented Apr 8, 2021 at 17:14

5 Answers 5

3

Go to >> Solution Properties>> Android Options>> Uncheck "Use Fast Deployment(debug mode only)"

Sign up to request clarification or add additional context in comments.

Comments

3

To correct this problem I had to

  1. uninstall app on Android phone (important step)
  2. Unload Android Project from solution explorer
  3. This brings up the project file code now search code for <EmbedAssembliesIntoApk>false</EmbedAssembliesIntoApk>
  4. Change false to true save
  5. reload project problem solved.

Note leave fast deploy checked.

2 Comments

I tried, but this automatically uncheck Use Fast Deployment after .csproj save.
Upvote because the solution for me in latest versions of VS is I need to edit csproj. For some reason with custom build configs you cant change the User Fast Deploy, it's greyed out, in the UI.
1

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.

Comments

1

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).

1 Comment

It was crucial to me to run project in Android emulator after changed that setting.
0

@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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.