Highlighted

AIR SDK 32-Android compiling error

Contributor ,
Mar 29, 2019

Copy link to clipboard

Copied

Hi,

I have been using Flash CS6 and noticed that no AIR SDK version above SDK 24 can compile Andoid AIR. SDK 24 works OK, but any SDK version after that gives a compiling error: dx tool failed, could not create Java virtual machine.

I've spent days searching online about fixes for this specific error, like re-installing the JRE/JDK, making these compatible with my 64 bit OS or installing the 32 bit versions, using the Java cleanup tool to remove additional versions, assuring that the JAVA_HOME environment variable is correctly set up, adding a JAVA_OPTIONS environment variable to increase the -XMS amount, rescripting the adt.bat, pointing it to the java.exe, and several more. Tried every one of them repeatedly with no success.

I notice that the file size for the SDK increases significantly between SDK 24 (works OK) and later SDK versions, leaving me to wonder what component (s) the file size increase added? Whatever the additional item (s) is may be causing the java virtual machine compiling error? Not sure?

Has anyone found a solution for this error that worked for compiling using SDK versions after SDK 24? Please share it so I can try it for my situation.

Thank you for your help.

Best Wishes,

TOPICS
Development

Views

178

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

AIR SDK 32-Android compiling error

Contributor ,
Mar 29, 2019

Copy link to clipboard

Copied

Hi,

I have been using Flash CS6 and noticed that no AIR SDK version above SDK 24 can compile Andoid AIR. SDK 24 works OK, but any SDK version after that gives a compiling error: dx tool failed, could not create Java virtual machine.

I've spent days searching online about fixes for this specific error, like re-installing the JRE/JDK, making these compatible with my 64 bit OS or installing the 32 bit versions, using the Java cleanup tool to remove additional versions, assuring that the JAVA_HOME environment variable is correctly set up, adding a JAVA_OPTIONS environment variable to increase the -XMS amount, rescripting the adt.bat, pointing it to the java.exe, and several more. Tried every one of them repeatedly with no success.

I notice that the file size for the SDK increases significantly between SDK 24 (works OK) and later SDK versions, leaving me to wonder what component (s) the file size increase added? Whatever the additional item (s) is may be causing the java virtual machine compiling error? Not sure?

Has anyone found a solution for this error that worked for compiling using SDK versions after SDK 24? Please share it so I can try it for my situation.

Thank you for your help.

Best Wishes,

TOPICS
Development

Views

179

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mar 29, 2019 0

Have something to add?

Join the conversation