Xamarin MSB6006: "java.exe" öğesinden 1 koduyla çıkıldı.

xamarinde çalışırken MSB6006: "java.exe" öğesinden 1 koduyla çıkıldı. hatası alıyorsak aşağıdaki adımaları yapmamız gerekmektedir.

MSB6006: "java.exe" öğesinden 1 koduyla çıkıldı. 0


I resolved this by manually overriding the java heap size:
In Xamarin Studio:
Right-click on Project
Options
Android Build
Advanced
Set Java Heap Size to 1G (Or larger depending)

The project now builds.

Hope this helps. :)

devamında ise şu işlemi yapmamız gerekmektedir...

Create file named proguard.cfg inside Android project in the solution. Right click and set Build Action to ProguardConfig.

Add the following lines:

-keep class com.google.android.gms.** { *; }
-dontwarn com.google.android.gms.**
Amend the above according to type of errors you're getting

Make sure you save file as UTF-8 and NOT UTF-8 BOM

kaynak:https://forums.xamarin.com/discussion/9305/java-exe-exited-with-code-1-xamarin-android-common-targets

Yorumlar