distriqt / ANE-Adverts-Mediation

Mediation adapters for the Adverts ANE
https://airnativeextensions.com/extension/com.distriqt.Adverts
12 stars 0 forks source link

The audience_network.dex file installed by apm is different #46

Closed ryopei closed 1 year ago

ryopei commented 2 years ago

The audience_network.dex file in this repository is 3.25MB, but the one installed using apm is 4.1MB and different files are installed.

And the one installed using apm does not work properly.

Environment
Logs
07-05 16:21:15.495 30133 30479 E System  : Unable to load dex files
07-05 16:21:15.496 30133 30479 E System  : java.io.IOException: Failed to open dex files from memory: Failure to verify dex file '/data/user/0/xxxxx/Anonymous-DexFile@4021077282.jar': Bad file size (4103310, expected 3183472573)
07-05 16:21:15.496 30133 30479 E System  :  at dalvik.system.DexFile.openInMemoryDexFilesNative(Native Method)
07-05 16:21:15.496 30133 30479 E System  :  at dalvik.system.DexFile.openInMemoryDexFiles(DexFile.java:389)
07-05 16:21:15.496 30133 30479 E System  :  at dalvik.system.DexFile.<init>(DexFile.java:117)
07-05 16:21:15.496 30133 30479 E System  :  at dalvik.system.DexPathList.initByteBufferDexPath(DexPathList.java:264)
07-05 16:21:15.496 30133 30479 E System  :  at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:188)
07-05 16:21:15.496 30133 30479 E System  :  at dalvik.system.InMemoryDexClassLoader.<init>(InMemoryDexClassLoader.java:40)
07-05 16:21:15.496 30133 30479 E System  :  at dalvik.system.InMemoryDexClassLoader.<init>(InMemoryDexClassLoader.java:52)
07-05 16:21:15.496 30133 30479 E System  :  at dalvik.system.InMemoryDexClassLoader.<init>(InMemoryDexClassLoader.java:63)
07-05 16:21:15.496 30133 30479 E System  :  at com.facebook.ads.internal.dynamicloading.DynamicLoaderFactory.createInMemoryClassLoader(DynamicLoaderFactory.java:341)
07-05 16:21:15.496 30133 30479 E System  :  at com.facebook.ads.internal.dynamicloading.DynamicLoaderFactory.makeAdsSdkClassLoader(DynamicLoaderFactory.java:287)
07-05 16:21:15.496 30133 30479 E System  :  at com.facebook.ads.internal.dynamicloading.DynamicLoaderFactory.doMakeLoader(DynamicLoaderFactory.java:217)
07-05 16:21:15.496 30133 30479 E System  :  at com.facebook.ads.internal.dynamicloading.DynamicLoaderFactory.access$000(DynamicLoaderFactory.java:41)
07-05 16:21:15.496 30133 30479 E System  :  at com.facebook.ads.internal.dynamicloading.DynamicLoaderFactory$1.run(DynamicLoaderFactory.java:101)
marchbold commented 2 years ago

Apologies, still seem to be having issues with some of our build scripts with assets in these packages.

I'll get this corrected.

marchbold commented 1 year ago

Let me know if you still have an issue with the update. Package is deploying now.

mwelk commented 1 year ago

It seems, that the new versions you added as dependencies did not make it into the https://repository.airsdk.dev/packages?q=com.distriqt.admob.FacebookAudience The latest available version is still 6.11.0 which has the wrong dex-file included.

marchbold commented 1 year ago

Argh... Apologies I'll look into this today...

marchbold commented 1 year ago

Okay, they should be available now. Apologies again.

mwelk commented 1 year ago

Yes, I can confirm that Facebook Audience Network is working again.

Thanks!

marchbold commented 1 year ago

Excellent, thanks for your patience.