“java.exe” exited with code 2 Xamarin.Android project

“java.exe” exited with code 2 Xamarin.Android project
“java.exe” exited with code 2 Xamarin.Android project

Xamarin.Forms Getting Mono.Linker.MarkException: Error processing method when compiling in release mode

Xamarin.Forms Getting Mono.Linker.MarkException: Error processing method when compiling in release mode
Xamarin.Forms Getting Mono.Linker.MarkException: Error processing method when compiling in release mode

The type or namespace name 'Android' does not exist in the namespace 'Xamarin.Forms.Platform'

The type or namespace name 'Android' does not exist in the namespace 'Xamarin.Forms.Platform'
The type or namespace name 'Android' does not exist in the namespace 'Xamarin.Forms.Platform'