Error message regarding Android 16 KB page packaging
AIR SDK: 51.2.2.4
@ajwfrost , I followed the https://github.com/airsdk/Adobe-Runtime-Support/issues/3800 to fix my Android app, but the final message still indicates that two SO files are not 16 KB pages. How can I resolve this? Thanks.
I think I found that in adt.cfg , the line UncompressedExtensions=emd,tfl,tflite,pb was missing the so suffix. After adding it, the error message disappeared. However, I don't have the machine with me right now, so I'll have to confirm this tomorrow.
Maybe it depends on which version of android are you targeting. I saw this message too, but when I switched the minimum and targeted version, it disappeared. My actual android settings, that is working well with this issue you reported:
<android>
<manifestAdditions><![CDATA[
<manifest android:installLocation="auto">
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-sdk android:minSdkVersion="23" android:targetSdkVersion="35"/>
<application android:hardwareAccelerated="true" android:allowBackup="true"/>
</manifest>
]]></manifestAdditions>
</android>
許這取決於您的目標是哪個版本的 android。我也看到了這條消息,但是當我切換最低和目標版本時,它消失了。
Thank you for your response. I will incorporate it into my experiments going forward.
Yes, just to clarify that the packaging mechanisms depend on the target APK level. So having targetSdkVersion="35" should make all this kick in - which includes the automatic adding of the so file type to the uncompressed extensions, in case it wasn't there before.
But we did find some people still had issues with the packaging, particularly the zip alignment, unless explicitly stating that the legacy packaging mechanism should not be used. An update to add this automatically via ADT will be coming out shortly in 51.2.2.5.
thanks
@ajwfrost too much new issues in new sdk, Google really ask too much, now they have something called Edge-to-edge.
Here are some new notifications in my google play dashboard:
Your app uses deprecated APIs or parameters for edge-to-edge:
LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES at com.google.android.gms.ads.internal.overlay.zzl.zzJ
Also new crash: [libc.so] __ioctl
@hadisn that's a bit interesting, seeing as LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES is not deprecated according to the documentation - but this does say that it's equivalent to LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS if you're targeting SDK 35 and running on Android 15 or later... so maybe we should automatically update any value to 'always' if you're targeting SDK 35. (That API/parameter looks like it's coming from an ANE though, with the google.gms.ads namespace..!)
The edge to edge thing again is enabled automatically if you target SDK 35 and run on Android 15. Question I guess is, do you want it also enabled manually on earlier devices? We can easily add that enableEdgeToEdge call in the activity start-up, but would perhaps only do this under certain scenarios - perhaps based on the selected display cut-out mode?!
The challenge, as ever, is to try to provide default functionality that suits most people using the AIR SDK whilst offering the possibility of customising it for those who need the extra settings!
For that ioctl crash, if you have the crash call stack available, can you raise a new issue and paste that in?
thanks
@ajwfrost To be honest, I am not sure what is it about and why wee need it :), yes I targed SDK 35 and I didn't tested on android 15 yet, all errors are from google play console... I am creating ne issue with details about crash.
Thanks
Maybe it depends on which version of android are you targeting. I saw this message too, but when I switched the minimum and targeted version, it disappeared.也許這取決於您的目標是哪個版本的 android。我也看到了這條消息,但是當我切換最低和目標版本時,它消失了。 My actual android settings, that is working well with this issue you reported:我的實際 android 設置,可以很好地解決您報告的這個問題:
<android> <manifestAdditions><![CDATA[ <manifest android:installLocation="auto"> <uses-permission android:name="android.permission.WAKE_LOCK"/> <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="35"/> <application android:hardwareAccelerated="true" android:allowBackup="true"/> </manifest> ]]></manifestAdditions> </android>
Confirmed, <uses-sdk android:minSdkVersion=“23” android:targetSdkVersion=“35”/> works for my app. I originally followed the documentation: <uses-sdk android:minSdkVersion=‘21’ android:targetSdkVersion=“35”/>. Without adding UncompressedExtensions=so, a 16 kb warning would appear. Thanks.