Closed bonniemathew closed 2 years ago
I am referencing the ARCore nuget package in a Xamarin project. But while building my Xamarin project, I am getting an error in the AndroidManifest.xml that's related to com.google.ar.core
2>------ Build started: Project: AndroidApp, Configuration: Debug Any CPU ------ 2> AndroidApp -> D:\_builds_\AndroidApp\Debug_AnyCPU\Output\AndroidApp.dll 2>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2106,3): error AMM0000: D:\code\nx\AndroidApp\..\..\..\_builds_\AndroidApp\Debug_AnyCPU\AndroidApp\100\lp\22\jl\AndroidManifest.xml:30:9-54 Error: 2>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2106,3): **error AMM0000: Missing 'package' key attribute on element package at AndroidManifest.xml:30:9-54** 2>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2106,3): error AMM0000: D:\code\nx\AndroidApp\..\..\..\_builds_\AndroidApp\Debug_AnyCPU\AndroidApp\100\lp\22\jl\AndroidManifest.xml Error: 2>D : \code\nx\AndroidApp\..\..\..\_builds_\AndroidApp\Debug_AnyCPU\AndroidApp\100\lp\22\jl\AndroidManifest.xml error : 2>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2106,3): error AMM0000: Validation failed, exiting
Following is the AndroidManifest.xml generated by the build tools in the output folder.
The issue got resolved after updating Visual Studio 2019.
I am referencing the ARCore nuget package in a Xamarin project. But while building my Xamarin project, I am getting an error in the AndroidManifest.xml that's related to com.google.ar.core
Following is the AndroidManifest.xml generated by the build tools in the output folder.