Native Extension(ANE) For Adobe Flex - Getting Error : Could not find method com.urbanairship.Autopilot.automaticTakeOff

Dear Support Team,

I am creating a native library(ane) for my Flex application. I have downloaded latest Urban Airship library(6.4.1 and latest 7.0) from the website and used jar file in my native library. After creating ane when I use that ane it give error - could not find method. I have unzipped the exported jar (which I have created using the urban airship sdk) and able to see all the class files there.

 

I am following same steps to generate jar file and to create ane which I was doing for earlier version of urban airship(4.6) but it didn't work for the latest sdk. I am getting below error.

 

02-03 17:14:11.949  23088-23088/? I/dalvikvm Could not find method com.urbanairship.Autopilot.automaticTakeOff, referenced from method com.sample.aneAndroid.UAPushNotificationExtensionSubscribeFunction.call
02-03 17:14:11.949  23088-23088/? W/dalvikvm VFY: unable to resolve static method 3322: Lcom/urbanairship/Autopilot;.automaticTakeOff (Landroid/app/Application;)V

 

Please advice.

 

Many thanks
Randhir

Didn't find what you were looking for?

New post

Comments

1 comment

  • Hi Randhir,

    Thanks for writing in about your issue. Unfortunately Adobe Flex is not a framework that we support.

    You can find more information about the platforms and frameworks that we do support in the following Knowledge Base Article:

    Which app platforms or third party frameworks do you support?

    Thank you,
    Sean Conlin
    Urban Airship Technical Support
    Portland, Oregon

    Comment actions Permalink
    0

Please sign in to leave a comment.