Skip to main content
Inspiring
May 31, 2015
Question

AIR Android Java 6

  • May 31, 2015
  • 1 reply
  • 1490 views

I wasted a lot of time trying to rebuild an ANE after format my Mac and install the most updated version of my tools.

The problem was that ANE for Android requires specific Java 6 and only Java 7 and 8 (the most recent version) are available for Mac.

Ultimate I was able to download a version of JDK 6 from Apple web site however this is not the desire solution.

Btw I'm using Flex 4.14.1 + AIR 17.

Please update AIR to support Java 8 !

This topic has been closed for replies.

1 reply

tdwivedi
Adobe Employee
Adobe Employee
June 9, 2015

Hi Hferreira,

Can you tell us which Java version did you use, and at what point of ANE packaging (or any other step) you faced the problem ?

-Tushar,

Adobe AIR Team

Inspiring
June 9, 2015

Hi tdwivedi,

"Can you tell us which Java version did you use"

Tried with Java 8, them Java 7 from official Oracle setups.

"what point of ANE packaging (or any other step) you faced the problem"

At runtime of Android AIR (complains like if there is no native code).

Workaround:

Install Java 6 from Apple web site and point the compiler to that specific version.

Regards,

Hugo.

tdwivedi
Adobe Employee
Adobe Employee
June 11, 2015

Hi,

We tried reproducing it with Adobe Vibration ANE, but found it to work correctly with Java 1.7 .

We will need some more information to reproduce this issue at our end.

Can you provide a sample ANE code in which you can reproduce this error with the steps to reproduce it, for example your device information, development environment (IDE etc) and the ADT command used to package the ane.

We will try few other ANEs to see if it gets reproduced, by the time, I would suggest you to log a bug in Adobe Bugbase (Here‌) regarding this issue with above information, for more efficient tracking of the issue.

- Tushar Dwivedi,

Adobe AIR Team