I am developing for my Zebra Printer RW420 using this Zebra LinkOS Multiplatform SDK for Xamarin.
I downloaded the sample application and referenced the following Nuget Component https://components.xamarin.com/gettingstarted/Link-OS-SDK/true
Now when trying to compile and build the application, I am getting the following error.
2>C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2159,3): error MSB6006: "java.exe" exited with code 2.
Please let me know the cause of this error and how to fix it.
I am using Visual Studio 2015, Xamarin Forms 18.104.22.168
There could be a couple of issues, but most of them are easy to fix. First try cleaning and rebuilding. Xamarin projects need to be cleaned more often than standard projects to make them work right. Next try updating your Java install. If neither of those things work, turn on diagnostic building to find more info on the error. Troubleshooting - Xamarin