Xamarin Java.exe exited with code 1 (Proguard Issue)

  1. Make sure that the proguard file you added is NOT a Unicode text file (U+FEFF byte order mark (BOM)) as proguard will fail…

  2. Enable diag. level logging for MSBuild and get the full error message.

  3. Proguard is being replaced by Google’s R8

If you are using the latest version of Xamarin, refer to this blog post as a start:

Detailed info on the various D8/R8 project configurations can be found in the Xamarin.Android repo here:

Leave a Comment