• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
1

AIR25 - dx tool failed

Participant ,
Feb 23, 2017 Feb 23, 2017

Copy link to clipboard

Copied

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

TOPICS
Air beta

Views

12.5K

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
community guidelines
Adobe Employee ,
Feb 23, 2017 Feb 23, 2017

Copy link to clipboard

Copied

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

Votes

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
community guidelines
Participant ,
Feb 24, 2017 Feb 24, 2017

Copy link to clipboard

Copied

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

Votes

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
community guidelines
Adobe Employee ,
Feb 24, 2017 Feb 24, 2017

Copy link to clipboard

Copied

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

Votes

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
community guidelines
Participant ,
Feb 24, 2017 Feb 24, 2017

Copy link to clipboard

Copied

Java Re-installation does not help. Strange is, that on my notebook with same Java version is packaging working fine.

d.

Votes

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
community guidelines
Adobe Employee ,
Feb 24, 2017 Feb 24, 2017

Copy link to clipboard

Copied

This issue is a weird issue and known to us with java version "1.8.0_112". Could you please check all the different JDK and JRE versions installed on your machine.

Please follow these steps:

1: Uninstall JRE and JDK and then reinstall them.

2. Please check environment variables as well.

We had faced similar issue which got resolved by following above mentioned steps. Please let us know how it goes.

Thanks,

Ankit

Votes

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
community guidelines
Participant ,
Feb 24, 2017 Feb 24, 2017

Copy link to clipboard

Copied

Unfortunately, nothing helps. Also it looks that Oracle is not providing access to older Java versions. I have AIR packaging working on both my work devices with Windows (7 and 10).. the problem is with our external worker, so it is hard to test in more details for me 😕 So far he can use AIR24 which is working without this issue.

Votes

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
community guidelines
Participant ,
Mar 01, 2017 Mar 01, 2017

Copy link to clipboard

Copied

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)

Votes

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
community guidelines
Adobe Employee ,
Mar 01, 2017 Mar 01, 2017

Copy link to clipboard

Copied

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

Votes

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
community guidelines
Participant ,
Mar 01, 2017 Mar 01, 2017

Copy link to clipboard

Copied

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

Votes

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
community guidelines
Community Beginner ,
Mar 22, 2017 Mar 22, 2017

Copy link to clipboard

Copied

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?

Votes

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
community guidelines
New Here ,
Mar 26, 2017 Mar 26, 2017

Copy link to clipboard

Copied

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

Votes

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
community guidelines
Adobe Employee ,
Mar 27, 2017 Mar 27, 2017

Copy link to clipboard

Copied

Hey warywarcry,

ADT Packaging should work fine with the older versions of Java. Is it possible for you to uninstall all the Java JRE and JDK versions and reinstall Java JRE 1.8.0_111 version?

Use this link to download older versions of Java 8. You need to create an account to be able to download the files.

Java Archive Downloads - Java SE 8

Please let us know if it helps.

Thanks,

Rohit

Adobe AIR Team

Votes

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
community guidelines
Community Beginner ,
Mar 27, 2017 Mar 27, 2017

Copy link to clipboard

Copied

Hi Rohit,

Thanks for your reply. I followed your steps but nothing changed. I am installing the 32 bit version of Java to able to run FlashDevelop. Do you think it is the reason?

My java version;

java version "1.8.0_111"

Java(TM) SE Runtime Environment (build 1.8.0_111-b14)

Java HotSpot(TM) Client VM (build 25.111-b14, mixed mode)

Votes

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
community guidelines
Community Beginner ,
Aug 18, 2018 Aug 18, 2018

Copy link to clipboard

Copied

Hey Rohit,

I am using latest AIR SDK 31 beta (have tried all sdks from 24 to 30 though). Using jre 1.8. Tried changing java path in adt.bat of AIR SDK (as suggested in one of the above comments). Still NO FIX. It still gives me dxtool failed error. However this happens only for SDK after 24 and only while publishing for Android. My apps publish perfectly for iOS with any AIR SDK. I need an immediate help on this as I need to upload my apps on Play Store and it has warned me to use version 26 and above for updating apps. Has anyone found any other solution to this problem?

Votes

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
community guidelines
Adobe Employee ,
Mar 27, 2017 Mar 27, 2017

Copy link to clipboard

Copied

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

Votes

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
community guidelines
Community Beginner ,
Mar 27, 2017 Mar 27, 2017

Copy link to clipboard

Copied

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.

Votes

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
community guidelines
Community Beginner ,
Apr 10, 2017 Apr 10, 2017

Copy link to clipboard

Copied

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.

Votes

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
community guidelines
Adobe Employee ,
Apr 11, 2017 Apr 11, 2017

Copy link to clipboard

Copied

Hello lucasp,

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

Regards,

Adobe AIR Team

Votes

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
community guidelines
Guest
Mar 29, 2017 Mar 29, 2017

Copy link to clipboard

Copied

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.

Votes

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
community guidelines
Explorer ,
May 03, 2017 May 03, 2017

Copy link to clipboard

Copied

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

Votes

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
community guidelines
New Here ,
May 05, 2017 May 05, 2017

Copy link to clipboard

Copied

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

Votes

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
community guidelines
Explorer ,
May 05, 2017 May 05, 2017

Copy link to clipboard

Copied

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

Votes

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
community guidelines
Explorer ,
May 06, 2017 May 06, 2017

Copy link to clipboard

Copied

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

Votes

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
community guidelines
LEGEND ,
May 07, 2017 May 07, 2017

Copy link to clipboard

Copied

Make sure to keep CS6 installed, it can still do ActionScript 2, and Deco tool, and TLF. You may need to edit an old project some day. But yes, Animate has fixed or improved a lot of things.

Votes

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
community guidelines