dx tool failed:Could not create the Java virtual machine
I upgraded the Adobe AIR SDK to version 28.0.0.125 through the Manage AIR SDK with Flash Professional CS6. After this update, Flash Professional is no longer able to publish the application to Android.
The following error is displayed:

I found some solutions through searches in the forum and Google and I tried editing the file jvm.ini, setting the variable to -Xmx256m, -Xmx512m or -Xmx1024m:

I changed the JAVA_HOME system variable for both Java versions:


Others solutions that i tried:
- Run Flash Professional CS6 as Administrator;
- Reinstalling Flash Professional;
- Reinstalling Java (both 32bits and 64bits);
- Install others "current" versions, like 27, 26 and 25, but the errors still occur; The only version work is AIR 3.4 (cs6 default);
... but nothing works!
What I was able to do was create a system variable called _JAVA_OPTIONS and add "-Xmx512m" as value, but the flash exhibited the versions in a very different way:

So, how can I fix this?
