airsdk / Adobe-Runtime-Support

Report, track and discuss issues in Adobe AIR. Monitored by Adobe - and HARMAN - and maintained by the AIR community.
197 stars 11 forks source link

[ISSUE] Create ANE using AIR 51 #3320

Open bobaoapae opened 4 days ago

bobaoapae commented 4 days ago

I have a ANE created and working using AIR 50.2, updating to AIR 51 (<extension xmlns="http://ns.adobe.com/air/extension/51.0"> ) cause this error:

platformAndroid.xml(2): error 103: platform.gradle is an unexpected element/attribute

plataformAndroid content:

<platform xmlns="http://ns.adobe.com/air/extension/51.0">
    <gradle>
        <repositories>
            <repository>google()</repository>
            <repository>mavenCentral()</repository>
        </repositories>
        <dependencies>
            <dependency>implementation "io.sentry:sentry-android:6.34.0"</dependency>
            <dependency>implementation "com.google.android.play:asset-delivery:2.2.2"</dependency>
            <dependency>implementation "com.google.android.play:app-update:2.1.0"</dependency>
            <dependency>implementation "com.android.billingclient:billing:6.2.1"</dependency>
            <dependency>implementation "androidx.appcompat:appcompat:1.6.1"</dependency>
            <dependency>implementation "com.google.android.material:material:1.12.0"</dependency>
        </dependencies>
    </gradle>
</platform>
ajwfrost commented 3 days ago

Internally referenced as "AIR-7136" - this was an incorrect derivation in the validator for Android platform extension files.. we have a fix which will be in our next release.

thanks

bobaoapae commented 3 days ago

Can you send private via email build with that fix? Or create a pre release version? I'm building a ane for websocket to use on Android until ssl websocket for Android have been fixed

ajwfrost commented 3 days ago

Fix version of ADL: https://transfer.harman.com/message/jmoqzjq1uqm0noSDao5QZJ

The ANE with Android Websocket is kind of what we were doing..! Just need to get that binary data thing working I guess.

bobaoapae commented 3 days ago

Fix version of ADL: https://transfer.harman.com/message/jmoqzjq1uqm0noSDao5QZJ

The ANE with Android Websocket is kind of what we were doing..! Just need to get that binary data thing working I guess.

thanks, yeah i have a urgent case, so i'm building my own using other android library to try if that will work