I'm getting an error when trying to run a blank android app on Visual Studio Xamarin on Mac.

The error and the warning I get are :
Failed to get the java SDK version.Found java version 9.0.4
"javac"exited with code 2 .(MSB6006)

I hava Java 8 SDK installed

Best Answer

Answers

  • Adity thanks for answering my post,the way I solved this was by reinstalling Visual Studio 2017

  • @Futureboy97 said:
    Adity thanks for answering my post,the way I solved this was by reinstalling Visual Studio 2017

    Damn that was too much of work to do, and was not really needed. but anyways you got through it.
    if ever it happens again try these 2 things before reinstalling VS :smile:
    all the best, happy coding!

Sign In or Register to comment.