Xamarin Forms application error MSB6006: "java.exe" exited with code 2.

teja 16 Reputation points
2022-04-29T12:47:55.883+00:00

Hi All,

I'm getting the below error in VS2019 when trying to debug a Xamarin Forms app on Android emulator.

MSB6006: "java.exe" exited with code 2.

197802-capture.png

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
{count} vote