[{"data":1,"prerenderedAt":82},["ShallowReactive",2],{"/2025/10/23-xamarin-java.exe-exited-with-code-2-error":3},{"id":4,"title":5,"body":6,"date":73,"description":70,"extension":74,"meta":75,"navigation":76,"path":77,"robots":78,"seo":79,"stem":80,"__hash__":81},"posts/2025/10/23 Xamarin-java.exe-exited-with-code-2-error.md","23 Xamarin JavaExe Exited With Code 2 Error",{"type":7,"value":8,"toc":69},"minimark",[9,18,25,28,40,43],[10,11,13],"post-title",{":date":12},"date",[14,15,17],"h1",{"id":16},"xamarin-javaexe-exited-with-code-2-error","Xamarin \"java.exe exited with code 2\" Error",[19,20,21],"notes",{},[22,23,24],"p",{},"This is a repost from my old blog. First posted in 5/11/2019.",[26,27],"br",{},[22,29,30,31,39],{},"Bumped into the following error  \"java.exe exited with code 2\" when building Xamarin app today. The only thing change is I added a Syncfusion NuGet package. I managed to solve it by enabling ",[32,33,38],"code",{"className":34},[35,36,37],"bg-gray-200","p-2","rounded","MultiDex",".",[22,41,42],{},"Reference:",[44,45,46,60],"ul",{},[47,48,49],"li",{},[50,51,54],"span",{"className":52},[53],"text-blue-600",[55,56,57],"a",{"href":57,"rel":58},"https://forums.xamarin.com/discussion/97803/getting-error-java-exe-exited-with-code-2",[59],"nofollow",[47,61,62],{},[50,63,65],{"className":64},[53],[55,66,67],{"href":67,"rel":68},"https://developer.android.com/studio/build/multidex",[59],{"title":70,"searchDepth":71,"depth":71,"links":72},"",2,[],"2025-10-23T00:00:00.000Z","md",{},true,"/2025/10/23-xamarin-java.exe-exited-with-code-2-error",null,{"title":5,"description":70},"2025/10/23 Xamarin-java.exe-exited-with-code-2-error","MmcXFy8p4UHXvdPEjsnQrsc8eM43b71zhmHU3zZzJUs",1785167452799]