I have a project that runs just fine when i have my Samsung S8 connected via cable to my PC. When i try and run the build when connected to live player i get some weird compile errors. I have tried clean and restart until my eyes bleed and i cannnot figure out what the heck is wrong... The compile errors:
The type or namespace name 'NotificationChannel' could not be found (are you missing a using directive or an assembly reference?)
'NotificationManager' does not contain a definition for 'CreateNotificationChannel' and no extension method 'CreateNotificationChannel' accepting a first argument of type 'NotificationManager' could be found (are you missing a using directive or an assembly reference?)
'Resource.Drawable' does not contain a definition for 'icon'
'NotificationCompat.Builder' does not contain a constructor that takes 2 arguments
The Android-project i've tried compiling against 7.1 and forwards, same result. I have two supporting projects, both running .netstandard 2.0. The only dependency besides SDK and Xamarin is newtonsoft, which I've tried removing with the same results. Every single package is updated to the latest version available.
Please advise