简体   繁体   中英

Air native extensions FDT

I am using FDT 5 and trying to use IOS native extensions. I am pulling my hair out because every time I try running the application locally I get the following error: "Not supported native extensions profile"

So I've tried scouring the web to find solutions and I've tried the following and these are the results:

  • Renaming the ANE file to a SWC file and including it to the class path. Results: Nothing, same error

  • Tried adding extendedDesktop. Results: Error changes to "invalid profile specified 'Application does not support current profile'"

  • Tried manually adding the ane file to the class path. Results: Nothing

"Not supported native extensions profile" is the error that I just can't get around. Again, this is when I test locally in FDT (not on the device)

您需要更改应用程序描述符的名称空间以匹配您的Air SDK:

<application xmlns="http://ns.adobe.com/air/application/3.1">

In your application descriptor file, remove "desktop" from the list of supported profiles.

For instance, change

<supportedProfiles>desktop extendedDesktop mobileDevice</supportedProfiles>

to

<supportedProfiles>extendedDesktop mobileDevice</supportedProfiles>

This will alleviate the "Not supported native extensions profile" error.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM