Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin "_AndroidXJetifyEmbeddedFiles" Build Error Visual Studio 2019

Whenever I try to build and run my mobile project the error

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1166,2): error MSB4057: The target "_AndroidXJetifyEmbeddedFiles" does not exist in the project.

Even when I create a new xamarin project and run it with the default code, I get the same error. Visual Studios is up to date so I am not sure what the problem could be.

like image 519
DarkT Avatar asked Jan 27 '26 19:01

DarkT


1 Answers

I solved this issue by posting on Xamarin-Android's GitHub issue tracker See here...

You should try to delete %userprofile%\.nuget\packages\xamarin.androidx.migration and to compile you app again. It worked fine for me.

like image 93
ZipGenius Avatar answered Jan 29 '26 11:01

ZipGenius



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!