-
Notifications
You must be signed in to change notification settings - Fork 11
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
ADT does not properly compile R.java files from com.distriqt.extension.dialog.DialogView #274
Comments
Which version of the runtime? And what OS and packaging method are you using? We have a general ANE problem with 33.1 but also with 33.0 this is the exact problem we found when trying to create Android App Bundles - the resources don’t get packaged in the same way so it doesn’t display the dialog.. |
@TobiasHeidingsfeld Could you post the logs from the device? We will be able to identify whether the issue is with the packaging of the ANE or with AIR. |
i have same problem
|
Hi @mymishagithub There's an issue in Android if the Java version is too recent, apparently ..! If you can use Java 8 then this might solve it. Our other known issues regarding this are: If you can confirm which exact version of AIR you're using it would be good (see xml or pdf files in the root of the SDK folder), and if you can package up your apps with "apk-debug" and then send them to us at adobe.support@harman.com then we can take a look further.. thanks |
@mymishagithub This error has always been associated with the Java version. Check that you are using one of the 1.8_xxx builds. |
i use adobe animte 2020. distriqt please help me |
@mymishagithub Log an issue in the dialog repository and we'll help you through it. |
We have isolated several issues that can cause this all relating to the java installation:
|
Re-opening this as it looks like there is an additional issue here. For anyone with this problem: see the above proposals from Distriqt, and also please try installing a JDK rather than just a JRE. JAVA_HOME should then be set to the top level JDK folder. This will mean that ADT can use the normal java compiler to compile the resource definition files - there appears to be a bug within the ADT fallback code that generates JavaScript bytecode when the javac tools is not available.. |
@ajwfrost Just a note if it helps, this seems to affect |
I use jre1.8.0_251 and jdk-15.0.1. Is it okay ? |
Yes to 1.8, no to 15.0.1, suggest you remove the JRE and JDK and just install the JDK 1.8.251 |
Thank you . I'll do the same |
Re-awakening this one due to some other issues -> the R.java files are being parsed by the built-in ADT code and java bytecode is then being generated. But, the parser is missing arrays such as:
So we need to update ADT so that it can parse these and set them up in the generated bytecode. It also seems to be missing values that aren't specified by AAPT as hexidecimal, e.g.
|
Resolved. I can no longer replicate this issue with 33.1.1.713 |
com.distriqt.extension.dialog.DialogView has a show() that worked fine before AIR 33 but now is not doing anything. The call seems to fail silently without giving any exception or failure message. This breaks much of our apps functionality, any ideas why this could be happening? Is it an issue for Harman or for distriqt?
The text was updated successfully, but these errors were encountered: