New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dx tool failed (com.android.dx.cf.code.SimException) unable to build ane with java8 #48
Comments
in android studio solutions is to add java source and target properties to gradle like.
we got jdk8 installed and set path
Unfortunately adobe air sdk does not have such option. We tried building apk with ant script setting another weird think is dx tool error prints current sdk as 13 but in manifest.xml found similar solutions but did not find how to implement dexoptions for adobe air apk package. javafxports/javafxmobile-plugin#50 (comment) Does anyone faced this issue and have a workaround ? i see many ane developers here if you got solutions please don't be envious and share :) |
we have found solution but cannot rebuild adt.jar inside flex sdk without source codes. |
AIR33 is now built against Java8 |
Issue was caused by how the ADT application was calling Android's AAPT application, fixed in AIR SDK 33.0.0.175 (though the workaround from 27 Feb 2019 above looks useful to anyone on older versions..) |
I still get such errors with AIR 33.0.1.220 if I try to use ANE with lambda expressions. ANE compiled with AIR 33.0.1.220, java 1.8 compability. |
For me now it works fine with AIR 33.0.2.281 when uses Java 8 features. |
we are getting dx tool failed error when compiling apk with ane that based on mapbox android sdk with java 1.8 compability.
We are successfully generating ane but unable to build apk.
using jdk 1.8.0_181 64bit(tried other version and jre)
android build tool 28 also min sdk version is 27
adobe air windows sdk 31.0.96 (latest)
also tried replacing old adobe air dx.jar as described in another adobe bugtrack https://tracker.adobe.com/#/view/AIR-4198726 and issue posted here #44
tried all dx.jars including api28 but result is same.
We will appreciate if anyone have temporary workaround.
Please vote here: https://tracker.adobe.com/#/view/AIR-4198743
The text was updated successfully, but these errors were encountered: