Reputation: 16813
I have started getting the following error after I have updated my java. I could not able to find a way to fix it. I even uninstalled and reinstalled Xamarin Android Player.
By the way, I have deleted jdk1.6.9
already but it still pointing the same directory.
But I checked the Xamarin options (Tools-->Options-->Xamarin --> Android), it points to jdk1.7
Upvotes: 0
Views: 485
Reputation: 133
Uninstall jdk which is pointed to that path from Tools -> Options -> Xamarin and then re install it and update environment variables and then set its jdk path in xamarin.
Upvotes: 0
Reputation: 1
thank you for bring up this question.
You must uninstall a version of java that not compatible with your android SDK.its better that install java and android SDK and NDK and also xamarin for visual studio manually(do not install with visual studio install file).i promis you that this problem and a lot of problem like it is solved when we setup dependency of xamarin manually .finaly i said this that i can catch all output of xamarin project in all platforms,simulators and real devices.
Upvotes: 0
Reputation: 59
After Adding the path in Tools-->Options-->Xamarin --> Android Also check path set in your environment variables in My Computer properties,
Set the same path till bin folder as for JAVA_HOME
it also causes this error.
Upvotes: 0
Reputation: 1360
There's a conflict in the version of java that the visual studio xamarin is fetching.
Upvotes: 0
Reputation: 167
Xamarin doesn't work properly when you have installed two version of java . Uninstall one version and try just with on of them .
Upvotes: 0