Appodeal 2.8.1 crash

Hi, I’ve been working on updating Appodeal plugin to 2.8.1., using the official Solar2D plugin. However, one of my apps crashes about 10 seconds after run. I get the following error from the logcat:

java.lang.AbstractMethodError: abstract method "void com.appodeal.ads.utils.EventsTracker$EventsListener.onImpressionStored(com.appodeal.ads.AdType, java.lang.String)

I did a lot of testing and found out the following: the app crashes when using banners and interstitials, but only with Appodeal Unity plugin enabled. So I guess when the Unity video loads up.

Note that this only happens if you have enough video impressions to run Unity ads ( 50000 daily impressions, you can check this in Appodeal dashboard).

Any ideas? I can get the app running if I disable banner ads or unity ads. Either one is far from ideal.

For some reason, the Unity ads plugin is very old. I suspect it was an error in the tool that @vlads uses to upload the plugins. In any case, you have 2 options:

  1. Wait for @vlads to update it.

  2. Do not use the unity plugin and add it manually to your project. Add a folder AndroidResources and a file corona.grindle then add:

    repositories {
    // … other project repositories
    maven {
    url “https://artifactory.appodeal.com/appodeal
    }
    }

    dependencies {
    implementation ‘com.appodeal.ads.sdk.networks:unity_ads:2.8.1.7’

    }

1 Like

Are the plugins not the same versions as stated in the Appodeal SDK content for 2.8.1.? (https://wiki.appodeal.com/en/android/2-8-1-android-sdk-integration-guide/sdk-content). That would mean that Unity is already 2.8.2.7. I am using Unity within Apoodeal.

Anyway, @agramonte, thanks for the help! Really appreciate it. When I add this to corona.gradle, the app doesn’t crash anymore. I will have to publish and see if Unity ads still work after this.

Hopefully, the Appodeal SDK will get fixed soon.

Forced the update. Hopefullyt it would fix it.

No crashes so far. Awesome, thanks @vlads for the fast response!

Thank you and @agramonte for spotting that update didn’t go through.

1 Like