Java.exe exited with code 2 in android app built in VS 2015
问题 I have built an android app using xamarin in VS2015. I was able to release first version of app on google play service. The other day, I tried to fix the problems and modified some UI, added some xml files and activities. But I got the error java.exe exited with code 2 in debug mode when I build the project whereas building was successful in release mode. I tried changing HeapSize 1G to 2G found no difference. I tried to enable ProGuard but found disabled by default. I went through enabling