Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable AirCrashlytics is not defined #20

Open
andrievsky opened this issue Aug 10, 2016 · 4 comments
Open

Variable AirCrashlytics is not defined #20

andrievsky opened this issue Aug 10, 2016 · 4 comments

Comments

@andrievsky
Copy link

Thank you for building great ANE's.

I forced with the issue trying to add the extension to my app. I'm building it with Intellij Idea.

There's the log:

"/Applications/IntelliJ IDEA.app/Contents/jre/jdk/Contents/Home/jre/bin/java" -Dapplication.home=/Users/nick/master/sdk/AIRSDK_Compiler_22 -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Duser.language=en -Duser.region=en -Xmx512m -classpath /Users/nick/master/sdk/AIRSDK_Compiler_22/lib/legacy/fdb.jar flex.tools.debugger.cli.DebugCLI -p 7936…
Adobe fdb (Flash Player Debugger) [build development]
Copyright (c) 2004-2007 Adobe, Inc. All rights reserved.
Trying to connect to Player
Player connected; session starting.
[trace] [Starling] Context ready. Display Driver: OpenGL (Baseline Extended)
java.lang.ArrayIndexOutOfBoundsException: -2
at flash.tools.debugger.concrete.ScriptText.getLine(ScriptText.java:38)
at flash.tools.debugger.concrete.DModule.getLine(DModule.java:135)
at flex.tools.debugger.cli.DebugCLI.dumpBreakLine(DebugCLI.java:2485)
at flex.tools.debugger.cli.DebugCLI.dumpHaltState(DebugCLI.java:2289)
at flex.tools.debugger.cli.DebugCLI.runningLoop(DebugCLI.java:2821)
at flex.tools.debugger.cli.DebugCLI.process(DebugCLI.java:817)
at flex.tools.debugger.cli.DebugCLI.execute(DebugCLI.java:669)
at flex.tools.debugger.cli.DebugCLI.main(DebugCLI.java:461)
[Fault] exception, information=ReferenceError: Error #1065: Variable com.freshplanet.ane.AirCrashlytics::AirCrashlytics is not defined.

@andrievsky
Copy link
Author

If I'm adding com.freshplanet.ane.AirCrashlytics to descriptor adt packing error occurs: "An implementation for native extension 'com.freshplanet.ane.AirCrashlytics' requared by the application was not found for the target platform"

@laraibmalik90
Copy link

please add import com.freshplanet.ane.AirCrashlytics.AirCrashlytics (as suggestions are also given by adobe IDE ). It should work

@tontonpiero
Copy link

tontonpiero commented Feb 13, 2017

Add this line in the extensions list of the app.xml file:
<extensionID>com.freshplanet.AirCrashlytics</extensionID>

@andrievsky
Copy link
Author

Thank you for the updated. I'm afraid it's a little bit outdated for now)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants