Can you make sure what's null? And did you try to move the two lines code into other method, such as App's constructor?
↧
Comment by Liyun Zhang - MSFT on Android OnCreate not accepting null savedInstanceState in .Net Maui
↧