java.exe exited with code 1 -LinkOS_Xamarin_SDK

R Rachel Susairaj 3 years 7 months ago
5 2 0

Currently we are building an native Android app which talks to the Zebra printer for printing stickers.  We are using Xamarin for the development.  And we are currently using the latest version of VS 2017.  We have added the plugin  LinkOS_Xamarin_SDK to our native android app.  (Note that, we are not using Xamarin forms). But after adding this SDK , our project does not compile. We get an error " java.exe exited with code 1" . Can you please help ?

Please Register or Login to post a reply

2 Replies

E Efkan YILMAZ

Hi Rachel, This is a common Xamarin issue and has several causes.  When I've run into the before, it was because my Java Heap size was too small.  I thought Microsoft had fixed that issue, but it might still be lingering depending on your version.  Also check if enabling Multi-Dex fixes it.
Thanks

D Dmitry Prokhorov

Hello Rachel,
It would be nice to have a log file with more details on this issue.

Dmitry Prokhorov
Software Engineer, Kutir Mobility
Posted on behalf of Zebra Technologies

CONTACT
Can’t find what you’re looking for?