Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Why do I get a warning when creating a custom slash screen?

Why do I get this warning when I try to create my custom splash screen?
Warning Screenshot

Can I get rid of this without using @SuppressLint("CustomSplashScreen")

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Probably because with android-12 there is a new API to build Splash Screen . You can go through the migration guide if you want to implement new API . If you want keep older one you have to use @SupressLint because you are targeting android-12.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading