public static void main(String[] argArray) throws IOException {
    DxContext context = new DxContext();
    Arguments arguments = new Arguments(context);
    arguments.parse(argArray);

    int result = new Main(context).runDx(arguments);

    if (result != 0) {
      System.exit(result);
    }
  }
Run and exit if something unexpected happened.

@param argArray the command line arguments
android/android_framework/dex-maker/src/main/java/com/android/dx/command/dexer/Main.java