question

Chengen Li avatar image
Chengen Li asked

Adobe Air ANE compile error

I recently downloaded Amazon mobile ads ANE for Adobe Air. I added the AmazonMobileAdsExtension.ane and AmazonMobileAdsExtension.swc to my lib directory (where I put other ANEs) and included them in my Air project. I added com.amazon.cptplugins.MASCPTAdsExtension to my application.xml according to the instruction ( https://developer.amazon.com/public/solutions/platforms/cross-platform/adobe-air/docs/adding-a-plugin-to-your-adobe-air-project). When I compile my project, I got the following error, An implementation for native extension 'com.amazon.cptplugins.MASCPTAdsExtension' required by the application was not found for the target platform. I tried to change the ANE file name to com.amazon.cptplugins.MASCPTAdsExtension.ane and com.amazon.cptplugins.MASCPTAdsExtension.swc but that doesn't make any difference. Does anyone know what I am missing here? Any suggestion is greatly appreciated.
mobile ads
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Chengen Li avatar image
Chengen Li answered
I forgot to mention, I am compiling the app for iOS.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ross@Amazon avatar image
Ross@Amazon answered
The documentation covering the integration of Amazon Mobile Ads with Adobe Air has recently been updated. Please try building your project again by referencing the latest instructions here: https://developer.amazon.com/public/solutions/platforms/cross-platform/adobe-air/docs/adding-a-plugin-to-your-adobe-air-project#Updating%20the%20Adobe%20AIR%20Application%20Descriptor%20for%20Use%20with%20the%20Mobile%20Ads%20Plugin.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.