Closed sujeetulli closed 6 months ago
Classic Xamarin.Android does not, and will not, have bindings for Android 14 / API-34. If you need to use new types and methods introduced in API-34, you need to use .NET 8.
Classic Xamarin.Android apps can target API-34, in that the //uses-sdk/@android:targetSdkVersion
attribute within AndroidManifest.xml
can be set to 34
, which we assume will be required for new app submissions around 2024-August. Such apps are still limited to only using types and members that exist in Android 13 / API-33. (We are not aware of any types or members introduced in API-34 which are required to set //uses-sdk/@android:targetSdkVersion
to 34.)
See also:
@sujeetulli what OS/IDE did you create your project on?
@sujeetulli Re your white screen. Has your app implemented a splash screen using Xamarin.AndroidX.Core.SplashScreen?
@sujeetulli what OS/IDE did you create your project on?
Mac/VS for Mac
@sujeetulli can you attach the test project that fails to work for you? I can't reproduce the problem. Also, please check whether the same behavior occurs on an Android 14 emulator, thanks!
thank you all for your reply... I will update you shortly...
With support for Classic Xamarin.Android ended May 1st, 2024, this issue is likely no longer relevant.
If this still persists in .NET 8+, please open a new issue with updated information based on net8.0-android
or greater. Please include a link to this issue for context.
Android application type
Classic Xamarin.Android (MonoAndroid13.0, etc.)
Affected platform version
Android Target version 14
Description
Xamarin Support for Android 14 Ref, I have updated based on this.
Steps to Reproduce
Create a new project and target version Android 14 and run this in android 14 device and you will be getting a white screen.
Did you find any workaround?
No response
Relevant log output
No response