View unanswered posts | View active topics



Reply to topic  [ 1 post ] 
My solution for DX TOOL FAILED:APK setup creation FAILED 
Author Message
Member

Joined: Wed Jun 11, 2008 3:54 pm
Posts: 4
Reply with quote
Hi.
I've been struggling with DX TOOL FAILED error while trying to debug or package an AIR Mobile App for Android.

Editing the C:\Users\[USER]\AppData\Local\FlashDevelop\Apps\flexairsdk\4.6.0+32.0.0\bin\jvm.config file, and changing the
Code:
java.args=-Xmx384M -Dsun.io.useCanonCaches=false

to
Code:
java.args=-Xmx512M -Dsun.io.useCanonCaches=false

or
Code:
java.args=-Xmx1024M -Dsun.io.useCanonCaches=false

had no effect...

Setting a system environment _JAVA_OPTIONS to -Xmx1024M, had no effect too...

I ended up with editing the file
C:\Users\[USER]\AppData\Local\FlashDevelop\Apps\flexairsdk\4.6.0+32.0.0\bin\adt.bat
and setting the _JAVA_OPTIONS variable befor the call to @java
Code:
SET _JAVA_OPTIONS=-Xmx512M
@java -jar "%~dp0\..\lib\adt.jar" %*

(or -Xmx1024M)

That's the best solution I found so far.

Hope it helps.

[Windows 10, Flashdevelop 5.3.3.1 , flexairsdk : 4.6.0+32.0.0 , .Net 4.0]


Sat Jun 15, 2019 9:45 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.