Я обновляю существующее приложение с Xamarin.Android до .Net7 Android и сталкиваюсь с проблемами при использовании Maui Essentials. В свой файл .csproj я включил эти две строки
Код: Выделить всё
True
True
/Project.Android/AndroidManifest.xml : error APT2260: resource xml/microsoft_maui_essentials_fileprovider_file_paths (aka com.app.package:xml/microsoft_maui_essentials_fileprovider_file_paths) not found. [/Project.Android.csproj]
/Project.Android/AndroidManifest.xml : error APT2260: resource xml/xamarin_essentials_fileprovider_file_paths (aka com.app.package:xml/xamarin_essentials_fileprovider_file_paths) not found. [/Project.Android.csproj]
There seem to be a few others referencing "xml/library_file_paths" and "integer/google_player_services_version". I'm not sure if it has anything to do with Maui but this is the first time noticing the issue. It may be more of a .Net7 thing. Currently working in Visual Studio Code on a mac if it matters.
Источник: https://stackoverflow.com/questions/781 ... -essential
Мобильная версия