Copy link to clipboard
Copied
Hi,
I am encountering a runtime error about missing annotations when running AIR app for Android that uses ANE with JAR that includes Java annotations (it is Retrofit library).
I found this post on StackOverflow about ADT stripping Java annotations. Could anybody from the staff confirm this? Is there a way to avoid this?
I could send a test ANE over, if needed.
Cheers
Copy link to clipboard
Copied
I'm facing the same issue. Unfortunately, I haven't been able to get any answers from Adobe on this issue - not even confirmation that they know about it.
Copy link to clipboard
Copied
Did you find a solution to this or has anyone logged a bug with Adobe? I'm encountering the same issue with an ANE we are currently building for a client.
Copy link to clipboard
Copied
No, I did not find a solution and I ended up using a different library. I have not created a bug report.
Copy link to clipboard
Copied
No problems,
If anyone else wants to get this resolved I've logged a bug here: https://bugbase.adobe.com/index.cfm?event=bug&id=4071110
Copy link to clipboard
Copied
Hi,
Could you please share a sample project so that we can debug this issue?
-Adobe AIR Team
Copy link to clipboard
Copied
Here's a set of three projects to demonstrate the issue. One is the Java code using annotations, one is the Flex code for the ANE, and the third one is the Flex mobile app that uses the ANE.
It's really simple - just debug the Flex mobile app on an android device, hit the button in the app, and watch the messages in Logcat -- you'll only see log messages up to the point where the Retrofit-service is called.
Copy link to clipboard
Copied
Thanks for posting that Brian,
I'm really busy at the moment, but piyushb89979246 if you need another example let me know.
Copy link to clipboard
Copied
Hi,
Thanks for reporting this issue. I have logged an internal bug for the same.
Also we recommend anyone who is effect by this issue give it a vote, and leave a comment on how it impact your work and development so that we can adjust its priority accordingly.
-Adobe AIR
Copy link to clipboard
Copied
Hello,
We have fixed the crash issue in latest AIR 25 beta available at http://labs.adobe.com/downloads/air.html
However, the application is making network calls on the main thread which is resulting in another crash and needs to be fixed. Please give it a try and let us know.
Thanks,
Krati | Adobe AIR Engineering