Skip to main content
Oldes
Inspiring
Feb 23, 2017 2:05 PM UTC
Question

AIR25 - dx tool failed

Hi,

does anybody else have a problem to package android apk-captive-runtime target with AIR25?

On some Window's machines (both 32 and 64 bit) we have nothing telling dx tool failed error while evaluating building command from command line. On the same machine using older AIR it is working fine.

The command and output looks like:

c:\dev\S3-Build>java -jar ..\AIR-Win-SDK\lib\adt.jar -package -target apk-captive-runtime -storetype pkcs12 -keystore ./cert/S3.p12 Build\S3.apk  android.xml Data/* -extdir ane/

dx tool failed:

Build failed!

Is there some special requirement for AIR25?

Thanks,

David

This topic is closed to new replies. Start a new post to keep the conversation going.

39 replies

Bobby_Elroy_Law
Participant
May 5, 2017 2:00 PM UTC

Same problem - "dx tool failed" with no further info when targeting Android after updating a project to AIR 25, no problems with AIR 23 (win 10 64bit, FlashDevelop). I (eventually) resolved it by using 64 bit java for packaging android and 32 bit java when targeting iOS - both are java 1.8.0_121

Translate
swamp222
Inspiring
May 6, 2017 2:37 AM UTC

After uninstalling Java I can still create apk files from AIR 24 (without Java installed), am I missing something?

*No errors when packaging for iOS for AIR 25

Translate
swamp222
Inspiring
May 7, 2017 4:33 AM UTC

Seems Animate CC fixed the problem for me, high time to abandon CS6 I guess

Translate
swamp222
Inspiring
May 4, 2017 1:11 AM UTC

Any progress for this problem? Tried AIR 26 beta same problem.

Also tried multiple java versions both 64bit and 32bit.

*Latest Facebook ANE from Distriqt requires AIR 25+

(Win 10 64bit, Flash Pro CS6)

/T

Translate
Mar 29, 2017 3:06 PM UTC

I have the same issue: dx tool failed: Result: 17

After updating to the latest version of AIR SDK 25 I can't package my app. I use Windows 7 x86 and JRE 1.8.111 x86.

Translate
warywarcry
Participating Frequently
Mar 27, 2017 11:34 AM UTC

The problem is related with the 32 bit version of Java. I installed 64 bit  of JRE 1.8.0_111 and it packaged without problems. I suppose 64 bit JRE 1.8.0_121 will also work fine.

Translate
lucasp35885850
Participating Frequently
Apr 10, 2017 2:32 PM UTC

I continue with the problem after installing 64 bit of JRE 1.8.0_11. I remember the problem only happens for the builds on android or IOS, Desktop works! I wanted to test the AIR24 SDK version but I can not find it to download, I can only get the AIR25 SDK.

Translate
Adobe Employee
Apr 11, 2017 12:51 PM UTC

Hello lucasp,

You can download the previous Adobe AIR SDKs from Find and download archived versions of Adobe AIR SDK .

Regards,

Adobe AIR Team

Translate
Rohit_Kumar2
Adobe Employee
Adobe Employee
Mar 27, 2017 10:54 AM UTC

Hey,

We are looking into this, we will keep you updated with the progress. There are two different issues which have been introduced with the java 1.8.0_112 and 1.8.0_121 versions.

1.8.0_112: dx command is failing due to process command execution failure

1.8.0_121: RSA-1024 Certificate issue

We are trying to fix these issues from our end.

Thanks,

Rohit

Adobe AIR Team

Translate
warywarcry
Participating Frequently
Mar 22, 2017 8:50 AM UTC

I have the same issue. Tried the jre/jdk libraries of 1.8.111 an 1.8.121 but cannot succeed. I cannot change the certiface of my apps since they are already published in play store. Any advice?

Translate
giladl36147141
Participant
Mar 26, 2017 12:25 PM UTC

have the same issue, any one found a work around for this?

Translate
fredericb99676169
Known Participant
Mar 1, 2017 2:00 PM UTC

Cannot do this since the certificate is used on existing apps.

Translate
fredericb99676169
Known Participant
Mar 1, 2017 11:18 AM UTC

Oldes :

You should uninstall JRE version 1.8.121 and install version 1.8.111

With 1.8.121 we have the following error when compiling on command line :

Unable to load a certificate in this file (our certificate is 1024-RSA)

With version 1.8.11 we have no DX tool issue or certificate issue.

By the way you guys at Adobe should report that bug about 1024-RSA issue with the latest version of Java JRE (1.8.121)

Translate
Rohit_Kumar2
Adobe Employee
Adobe Employee
Mar 1, 2017 1:34 PM UTC

Hey,

Can you please recreate a certificate and try to use it for packaging? It might solve your problem for JRE 1.8.0_121 version as we are able to successfully package apps on this version.

Thanks, 

Rohit 

Adobe AIR Team

Translate
Adobe Employee
Feb 24, 2017 7:04 AM UTC

Hello David,

Could you please share the JAVA version (build 1.X.X_XXX-XXX) installed on your machine with OS details.

Regards,

Adobe AIR Team

Translate
Oldes
OldesAuthor
Inspiring
Feb 24, 2017 11:16 AM UTC

For example:

java version "1.8.0_121"

Java(TM) SE Runtime Environment (build 1.8.0_121-b13)

Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)



Computer Information:

    Manufacturer:  LENOVO

    Model:  20C00045MC

    Form Factor: Laptop

    No Touch Input Detected

   

Processor Information:

    CPU Vendor:  GenuineIntel

    CPU Family:  0x6

    CPU Model:  0x45

    CPU Stepping:  0x1

    CPU Type:  0x0

    Speed:  2694 Mhz

    4 logical processors

    2 physical processors

    HyperThreading:  Supported

    FCMOV:  Supported

    SSE2:  Supported

    SSE3:  Supported

    SSSE3:  Supported

    SSE4a:  Unsupported

    SSE41:  Supported

    SSE42:  Supported

    AES:  Supported

    AVX:  Supported

    CMPXCHG16B:  Supported

    LAHF/SAHF:  Supported

    PrefetchW:  Supported

   

Network Information:

    Network Speed: 

   

Operating System Version:

    Windows 10 (64 bit)

    NTFS:  Supported

    Crypto Provider Codes:  Supported 311 0x0 0x0 0x0

   

Video Card:

    Driver:  Intel(R) HD Graphics Family

    DirectX Driver Name:  igdumdim32.dll

    Driver Version:  20.19.15.4444

    DirectX Driver Version:  20.19.15.4444

    Driver Date: 22 Apr 2016

    OpenGL Version: 4.3

    Desktop Color Depth: 32 bits per pixel

    Monitor Refresh Rate: 59 Hz

    DirectX Card: Intel(R) HD Graphics Family

    VendorID:  0x8086

    DeviceID:  0xa16

    Number of Monitors:  1

    Number of Logical Video Cards:  1

    No SLI or Crossfire Detected

    Primary Display Resolution:  1920 x 1080

    Desktop Resolution: 1920 x 1080

    Primary Display Size: 10.87" x 6.14"  (12.48" diag)

                                            27.6cm x 15.6cm  (31.7cm diag)

    Primary Bus Type Not Detected

    Primary VRAM: 1024 MB

    Supported MSAA Modes:  2x 4x 8x

   

Sound card:

    Audio device: Speakers (Conexant SmartAudio H

   

Memory:

    RAM:  8082 Mb

Translate
Anki_AG_
Adobe Employee
Adobe Employee
Feb 24, 2017 11:20 AM UTC

Hi,

Thanks so much for the detailed information. Could you please try reinstalling java once on your machine. Please let us know if this resolves your issue.

Thanks,

Ankit | Adobe AIR Engineering

Translate