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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With