The AOT compiler '' does not exist.

Teng Kimleang 0 Reputation points
2023-02-25T10:49:24.2+00:00

the problem is when I am try to build my code Maui App in VS code then I got the problem like this

/usr/local/share/dotnet/packs/Microsoft.MacCatalyst.Sdk/16.2.1024/targets/Xamarin.Shared.Sdk.targets(983,3): error : The AOT compiler '' does not exist. [/Users/macintoshssd/Desktop/Maui/mauitest/mauitest.csproj::TargetFramework=net7.0-maccatalyst]

/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.2.1024/targets/Xamarin.Shared.Sdk.targets(983,3): error : The AOT compiler '' does not exist. [/Users/macintoshssd/Desktop/Maui/mauitest/mauitest.csproj::TargetFramework=net7.0-ios]

/Users/macintoshssd/Desktop/Maui/mauitest/Platforms/Android/AndroidManifest.xml : error APT2260: resource mipmap/appicon (aka com.companyname.mauitest:mipmap/appicon) not found. [/Users/macintoshssd/Desktop/Maui/mauitest/mauitest.csproj::TargetFramework=net7.0-android]

/Users/macintoshssd/Desktop/Maui/mauitest/Platforms/Android/AndroidManifest.xml : error APT2260: [/Users/macintoshssd/Desktop/Maui/mauitest/mauitest.csproj::TargetFramework=net7.0-android]

/Users/macintoshssd/Desktop/Maui/mauitest/Platforms/Android/AndroidManifest.xml : error APT2260: This error is likely caused by an issue with the AndroidManifest.xml file or an Android manifest generation attribute in a source code file. [/Users/macintoshssd/Desktop/Maui/mauitest/mauitest.csproj::TargetFramework=net7.0-android]

/Users/macintoshssd/Desktop/Maui/mauitest/Platforms/Android/AndroidManifest.xml : error APT2260: resource mipmap/appicon_round (aka com.companyname.mauitest:mipmap/appicon_round) not found. [/Users/macintoshssd/Desktop/Maui/mauitest/mauitest.csproj::TargetFramework=net7.0-android]

/Users/macintoshssd/Desktop/Maui/mauitest/Platforms/Android/AndroidManifest.xml : error APT2260: [/Users/macintoshssd/Desktop/Maui/mauitest/mauitest.csproj::TargetFramework=net7.0-android]

/Users/macintoshssd/Desktop/Maui/mauitest/Platforms/Android/AndroidManifest.xml : error APT2260: This error is likely caused by an issue with the AndroidManifest.xml file or an Android manifest generation attribute in a source code file. [/Users/macintoshssd/Desktop/Maui/mauitest/mauitest.csproj::TargetFramework=net7.0-android]

/usr/local/share/dotnet/packs/Microsoft.Android.Sdk.Darwin/33.0.26/tools/Xamarin.Android.Aapt2.targets(212,3): error APT2067: failed processing manifest. [/Users/macintoshssd/Desktop/Maui/mauitest/mauitest.csproj::TargetFramework=net7.0-android]

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