IntelliJ IDEA 13.0.0 Web Help

File | Settings | Compiler | Android DX Compiler

Use this page to configure the behavior of the Android dx tool. This tool converts compiled .class files to executable .dex files in the Dalvik format for further execution in the Android environment.

Item Description
Maximum heap size Use this spin box to control the size of the heap available to the process that launches the compiler. If you are compiling a particularly large or complex project, you may get out-of-memory errors and be required to increase the amount of memory allocated to the compiler.
Additional VM options In this text box, specify the string to be passed to the Dalvik Virtual Machine for launching the Android application. If necessary, click shift-enter-button.png and type the desired string in the Android DX Compiler VM Options dialog.

When specifying the options, follow these rules:

  • Use spaces to separate individual options, for example, -client -ea -Xmx1024m.
  • If an option includes spaces, enclose the spaces or the argument that contains the spaces in double quotes, for example, some" "arg or "some arg".
  • If an option includes double quotes (e.g. as part of the argument), escape the double quotes by means of the backslashes, for example, -Dmy.prop=\"quoted_value\".

See Also



Web Resources: