Could someone explain to me these errors (Haxe/OpenFl + Java JAR)

122 views
Skip to first unread message

Maniac Kicksirup

unread,
Apr 15, 2014, 6:01:41 AM4/15/14
to haxe...@googlegroups.com
I'm trying to use LeadBolt library for Android

<haxeflag name="-java-lib" value="kpgghrcsjmlwykdkutg.jar" if="android" />
<haxeflag name="-java-lib" value="/Developer/adt-bundle-mac-x86_64/sdk/platforms/android-19/android.jar" if="android" />

and getting this:

kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (<init>):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (<init>):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (<init>):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (<init>):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (setUseLocation):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (setLayout):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (setAdditionalDockingMargin):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (setSubId):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (setTokens):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (setOnProgressInterval):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (adShowStatus):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (setResults):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (showInternetDialog):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (loadStartAd):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (<init>):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (<init>):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (adInitialized):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (loadAdToCache):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (loadAd):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (destroyAd):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (hideElements):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (showElements):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (setHTMLAds):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (setHTML):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (pauseAd):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (resumeAd):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (setLoadInBackground):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (getLoadInBackground):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (setHomeLoaded):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (onLinkClicked):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (setLoading):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (setCompleted):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (triggerAdCompleted):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (triggerAdFailed):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (onBackPressed):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (setAdDestroyed):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (getAdDestroyed):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (getOnAdLoaded):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (setOnAdLoaded):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (getAdLoaded):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (setAdLoaded):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (loadAudioAdToCache):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (loadAudioAd):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (loadAudioTrack):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (retrieveAudioAd):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (audioAdRetrieved):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (checkForAudioAd):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (%a):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (stopAllListeners):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (loadReEngagement):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class (reEngagementInitialized):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
kpgghrcsjmlwykdkutg.jar@com/kpgghrcsjmlwykdkutg/AdController.class:1: character 0 : Defined in this class
/Developer/adt-bundle-mac-x86_64/sdk/platforms/android-19/android.jar@java/lang/reflect/AnnotatedElement.class (getAnnotation):1: character 0 : This platform does not support this kind of overload declaration. Try @:overload(function()... {}) instead
/Developer/adt-bundle-mac-x86_64/sdk/platforms/android-19/android.jar@java/lang/reflect/AnnotatedElement.class:1: character 0 : Defined in this class
/Developer/adt-bundle-mac-x86_64/sdk/platforms/android-19/android.jar@java/lang/reflect/AnnotatedElement.class (getAnnotations):1: character 0 : You cannot access the java package while targeting cpp (for java.NativeArray)

Do I need to do something manually or -java-lib can't import these JARs or ..?

Andy Li

unread,
Apr 15, 2014, 7:20:57 AM4/15/14
to haxe...@googlegroups.com
Seems like you're using OpenFL/NME, which targets cpp for Android.
-java-lib is a Java target feature which doesn't work with the cpp target.
You have to use OpenFL/NME's extension API. Read http://www.joshuagranick.com/blog/?p=734

Best,
Andy


--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages