Could you please share the JAVA version (build 1.X.X_XXX-XXX) installed on your machine with OS details.
Adobe AIR Team
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)
Form Factor: Laptop
No Touch Input Detected
CPU Vendor: GenuineIntel
CPU Family: 0x6
CPU Model: 0x45
CPU Stepping: 0x1
CPU Type: 0x0
Speed: 2694 Mhz
4 logical processors
2 physical processors
Operating System Version:
Windows 10 (64 bit)
Crypto Provider Codes: Supported 311 0x0 0x0 0x0
Driver: Intel(R) HD Graphics Family
DirectX Driver Name: igdumdim32.dll
Driver Version: 126.96.36.19944
DirectX Driver Version: 188.8.131.5244
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
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
Audio device: Speakers (Conexant SmartAudio H
RAM: 8082 Mb
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.
Ankit | Adobe AIR Engineering
Java Re-installation does not help. Strange is, that on my notebook with same Java version is packaging working fine.
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.
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.
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)
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.
Adobe AIR Team
Cannot do this since the certificate is used on existing apps.
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?
have the same issue, any one found a work around for this?
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.
Adobe AIR Team
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.
Please let us know if it helps.
Adobe AIR Team
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)
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.
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.
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.
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)
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
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
Seems Animate CC fixed the problem for me, high time to abandon CS6 I guess
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.
Was having the same problem which i've managed to resolve by changing my 32 bit java environment to:
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
i.e. 64 bit JDK
Also, i'm using AIR SDK v25.
1 person found this helpful
I had this same issue.
Fixed it with the following configuration:
- AIR 25
- Project Properties: AIR Mobile vs 21
- global Java version 1.6 32bits (for FlashDevelop)
- (the MAGIC) edited the adt.bat file to set the java path to a 1.8 64 bits version like this:
::@java -jar "%~dp0\..\lib\adt.jar" %*
"C:\Program Files\Java\jre1.8.0_131\bin\java.exe" -jar "%~dp0\..\lib\adt.jar" %*
Worked for me.
Hope this will help you.
Looks like AIR 25 has brought this issue up again.
I solved it by switching from 32-bit jdk 1.7.0_79 to 64-bit jdk 1.8.0_91 (by setting the PATH var in my batch file where I run ADT).
Sounds like 1.8.0_121 may also be incompatible with AIR 25, according to this thread discussing the same problem. May have something to do with the switchover to 64 bit certificates.
AIR 26, same problem. Java version: 1.7.0_80
updated java to the latest 1.8 and now it works
1 person found this helpful
I have encountered this problem, I was replaced by 64-bit java can solve this problem, you need to change the system environment variables into 64-bit java, I hope you help!
This problem brought us too many headaches.
Is there any news?
Switching to the 64 bit Java is a very bad way for us, as we use 32 bit FlashDevelop together with 32 bit plugins. If we switch to 64 bit java, we would be forced to switch to 64 bit FlashDevelop.
v1v0c4, you are a genius!!!!
I tried a million things. Finally found your post and it worked.
Had to make some changes. I used:
- jre1.8.0_111 32 bit - For FlashDevelop - Environment variable JAVA_HOME C:\Progra~2\Java\jre1.8.0_111
- jre1.8.0_111 64 bit - For publishing to devices - Inserted the script in adt.bat (AIRSDK26/bin/adt.bat) as you have suggested: "path_to_64bit_java\bin\java.exe" -jar "%~dp0\..\lib\adt.jar" %*
Both problems (dx and certificate) were solved.
I am using AIR 26 on Win 10.
Thank you a lot!!!! You ended my nightmare!
I had that problem and it's SOLVED NOW. I use windows 10 64bit, and FlashDevelop with Starling.
I just updated AIR and Java 64 (uninstalled all the JAVA programs first, which probably were 32-bit). And it worked.
P.S. I also changed my project's XML to air 26 and changed the location in my project's SetupSDK.bat to AIR 26.
P.P.S: After uninstalling all JAVA programs I used the link below to install JRE and then JDK.