xamarin-android-migration
Installation
SKILL.md
Xamarin.Android → .NET for Android Migration
For SDK-style project templates, MSBuild property tables, ABI conversion, namespace mappings, and CLI commands, see references/android-migration-api.md.
⚠️ Field-tested advice: Android migration is significantly harder than iOS. Expect more UI bugs, OEM-specific rendering differences, and issues not reproducible on emulators. Test on physical devices.
Migration Workflow
- Create new .NET for Android project (
dotnet new android) - Copy code and resources into the new project
- Update MSBuild properties (see
references/android-migration-api.md) - Update AndroidManifest.xml — remove
<uses-sdk>, use csproj properties - Delete
Resource.designer.cs(regenerated automatically) - Update NuGet dependencies
- Migrate binding libraries (if applicable)
- Replace Xamarin.Essentials with
<UseMauiEssentials>true</UseMauiEssentials> - Handle encoding changes
Related skills