Xamarin.AndroidX.Migration 1.0.9

Xamarin AndroidX Migration

If you are looking for the source code to the Xamarin AndroidX bindings, it is available in the "AndroidX" repo:

https://github.com/xamarin/AndroidX/

The Migration package helps apps which are transitioning to AndroidX but haven't yet updated their own source code to the new AndroidX API's, or still depend on third party libraries which have not been updated to use the new AndroidX API's.

Add the Xamarin.AndroidX.Migration NuGet package to your app

You should add the Xamarin.AndroidX.Migration NuGet package to your Xamarin Android application project and any Xamarin.Android library projects it references.

Keep the Xamarin.Android.Support.* NuGet packages

You will need to keep your existing references to Xamarin.Android.Support.* NuGet packages as any remaining usage of the old Android Support API's will require this for compiling before the migration build step does its job. The Android Support libraries will not be bundled into your apk.

Add references to the correct AndroidX NuGet packages

The migration package contains a validation step which helps ensure you have references to all of the AndroidX NuGet packages that the Android Support library NuGet packages you reference in your app map to.

You will see a build error generated telling you which packages are missing which you need to add.

When can I remove the Migration package?

As soon as all of your own source code, layout files, proguard configurations, and manifest files are converted over to using the new AndroidX API's, and all of the libraries you depend on have done the same, you can safely remove the AndroidX Migration NuGet package along with all of the old Android Support library NuGet packages.

Current Limitations or known issues

  • Android Designer may become unusable after adding AndroidX Migration package

Showing the top 20 packages that depend on Xamarin.AndroidX.Migration.

Packages Downloads
Xamarin.AndroidX.Annotation
Xamarin.Android bindings for AndroidX - annotation
26
Xamarin.AndroidX.Annotation
.NET for Android (formerly Xamarin.Android) bindings for AndroidX library 'androidx.annotation:annotation'.
22
Xamarin.AndroidX.Annotation
Xamarin.Android bindings for AndroidX - annotation artifact=androidx.annotation:annotation artifact_versioned=androidx.annotation:annotation:1.2.0
22
Xamarin.AndroidX.Annotation
Xamarin.Android bindings for AndroidX - annotation artifact=androidx.annotation:annotation artifact_versioned=androidx.annotation:annotation:1.3.0
21
Xamarin.AndroidX.Annotation
Xamarin.Android bindings for AndroidX - annotation
20
Xamarin.AndroidX.Annotation
.NET for Android (formerly Xamarin.Android) bindings for AndroidX library 'androidx.annotation:annotation'.
20
Xamarin.AndroidX.Annotation
.NET for Android (formerly Xamarin.Android) bindings for AndroidX library 'androidx.annotation:annotation'.
19
Xamarin.AndroidX.Annotation
Xamarin.Android bindings for AndroidX - annotation
19
Xamarin.AndroidX.Annotation
Xamarin.Android bindings for AndroidX - annotation artifact=androidx.annotation:annotation artifact_versioned=androidx.annotation:annotation:1.5.0
18
Xamarin.AndroidX.Annotation
.NET for Android (formerly Xamarin.Android) bindings for AndroidX library 'androidx.annotation:annotation'.
18
Xamarin.AndroidX.Annotation
Xamarin.Android bindings for AndroidX - annotation artifact=androidx.annotation:annotation artifact_versioned=androidx.annotation:annotation:1.2.0
18
Xamarin.AndroidX.Annotation
Xamarin.Android bindings for AndroidX - annotation
18

MonoAndroid 1.2

Version Downloads Last updated
1.0.10 27 01/06/2024
1.0.9 19 01/08/2024
1.0.8 17 01/08/2024
1.0.7.1 15 01/05/2024
1.0.7 13 01/06/2024
1.0.6.2 11 01/05/2024
1.0.6.1 18 01/05/2024
1.0.6 17 01/08/2024
1.0.5.1 18 01/05/2024
1.0.5 17 01/04/2024
1.0.4.1 19 01/06/2024
1.0.4 17 01/05/2024
1.0.3.1 18 01/05/2024
1.0.3 15 01/05/2024
1.0.2.1 16 01/06/2024
1.0.2 14 01/06/2024
1.0.1 14 01/08/2024
1.0.0.2 11 01/08/2024
1.0.0.1 18 01/04/2024
1.0.0 12 01/05/2024
1.0.0-rc3 12 01/09/2024
1.0.0-rc1 19 01/09/2024
1.0.0-preview06 16 01/10/2024
1.0.0-preview05 16 01/10/2024
1.0.0-preview04 15 01/10/2024
1.0.0-preview03 13 01/10/2024
1.0.0-preview02 19 01/10/2024
1.0.0-preview01 18 01/09/2024