Error java.lang.OutOfMemoryError. Consider increasing the value of $(JavaMaximumHeapSize). Java ran out of memory while executing 'java.exe -jar "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v6.0\mono.android.jar" ------------------------ Solution -------------- Just set the java max heap size into the android project property using below steps: Right click your Android Project > Proerties > Android Options > Advanced Tab > Java Max Heap Size set Java Max Heap size to 1G and save the settings.
.Net and Xamarin Developer