How to fix Severity Code APT2062 failed linking references.

Ahmed Thabet Elshamandy 35 Reputation points
2023-06-04T06:50:00.33+00:00

Hi There, When I try to run the .Net Maui project on android Emulator I found run time error say that.

"Severity Code Description Project File Line Suppression State Priority

Error APT2062 failed linking references.C:\ ProgramFiles \dotnet \packs \Microsoft.Android.Sdk.Windows \33.0.46 \tools \Xamarin.Android.Aapt2.targets " I Not Found any fix for this error.

I tried to clean project and built again.

I tried to delete bin folder and obj. but it still exists.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ahmed Thabet Elshamandy 35 Reputation points
    2023-11-01T07:13:01.3666667+00:00

    I solved it by using Emulator that support google play like **pixel 4(+store) **Emulator

    when choose it be sure to check the checkbox of Google play store

    Try it and tell me the result.

    0 comments No comments