Skip to content

Java error - compile failure #16

@Matzerath

Description

@Matzerath

When implementing your files now, I've been getting a compile error with this output:
-compile:

[javac] C:\Users\Matzerath\Desktop\OrangeHaxe\bin\android\bin\src\org\haxe\lime\GameActivity.java:172: cannot find symbol
[javac] symbol  : variable packageName
[javac] location: class org.haxe.extension.Extension
[javac]         Extension.packageName = getApplicationContext ().getPackageName ();
[javac]                  ^
[javac] C:\Users\Matzerath\Desktop\OrangeHaxe\bin\android\bin\src\org\haxe\lime\GameActivity.java:587: cannot find symbol
[javac] symbol  : method onLowMemory()
[javac] location: class org.haxe.extension.Extension
[javac]             extension.onLowMemory ();
[javac]                      ^
[javac] C:\Users\Matzerath\Desktop\OrangeHaxe\bin\android\bin\src\org\haxe\lime\GameActivity.java:598: cannot find symbol
[javac] symbol  : method onNewIntent(android.content.Intent)
[javac] location: class org.haxe.extension.Extension
[javac]             extension.onNewIntent (intent);
[javac]                      ^
[javac] C:\Users\Matzerath\Desktop\OrangeHaxe\bin\android\bin\src\org\haxe\lime\GameActivity.java:708: cannot find symbol
[javac] symbol  : method onTrimMemory(int)
[javac] location: class org.haxe.extension.Extension
[javac]             extension.onTrimMemory (level);
[javac]                      ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 4 errors

BUILD FAILED
C:\Development\sdk\tools\ant\build.xml:720: The following error occurred while executing this line:
C:\Development\sdk\tools\ant\build.xml:734: Compile failed; see the compiler error output for details.

I've tried various things to fix this (updated haxelib, changed SDK build, other madness) but get the same errors every time. Any thoughts? I did have this working previously, so maybe an openFL/Lime update is causing problems -- or I just screwed something up!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions