Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
AppLovin rebuild error in Android Studio — Gideros Forum

AppLovin rebuild error in Android Studio

simwhisimwhi Member
edited November 2016 in Plugins
Hi,

I'm getting this error when I try to rebuild my project in Android Studio,

Error:(144, 59) error: is not abstract and does not override abstract method onRefresh() in AdsStateChangeListener

Does anyone know what it means / how to fix it?

Using Gideros 2016-10

Cheers

Comments

  • Hi, I am just guessing: did you do a full export from latest release? :)
  • hgy29hgy29 Maintainer
    Someone has contributed advanced features for some android ads providers, maybe AppLovin wasn't properly upgraded, there is so many ads providers...
  • @pie Yes, I did a complete export using Gideros 2016-10

    @hgy29 Is there any way to fix this?
  • hgy29hgy29 Maintainer
    @simwhi, Yes, just add the folliwing two lines:
    <a href="http://forum.giderosmobile.com/profile/Override" rel="nofollow">@Override</a>
    public void onRefresh() {}
    between lines 162 and 163 of AdsApplovin.java source file, right below onHide() method.
    I'll push the fix for next build.

    Likes: totebo, l7777777b

    +1 -1 (+2 / -0 )Share on Facebook
  • On this note, I get an error in Xcode too:
    Undefined symbols for architecture arm64:
      "_OBJC_CLASS_$_ALAdView", referenced from:
          objc-class-ref in AdsApplovin.o
      "_OBJC_CLASS_$_ALIncentivizedInterstitialAd", referenced from:
          objc-class-ref in AdsApplovin.o
      "_OBJC_CLASS_$_ALAdSize", referenced from:
          objc-class-ref in AdsApplovin.o
      "_OBJC_CLASS_$_ALInterstitialAd", referenced from:
          objc-class-ref in AdsApplovin.o
      "_OBJC_CLASS_$_ALSdk", referenced from:
          objc-class-ref in AppDelegate.o
          objc-class-ref in AdsApplovin.o
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    Could this be related, or something else?
    My Gideros games: www.totebo.com
  • Turns out I had added the framework with the "Create folder references" checked. I changed it to "Create groups" when adding the folder and now it works.
    Screen Shot 2016-11-18 at 09.58.x32.png
    724 x 614 - 71K
    My Gideros games: www.totebo.com
Sign In or Register to comment.