Android Question [RESOLVED] Appodeal Ads / incompatibility some library

MarcoRome

Expert
Licensed User
Longtime User
Are some days that i try to solve with the support Appodeal ( very disponible ) some problem "compatibility" with some librarys B4A.
If library Appodeal work "alone" without another specific library ( that we all utilize ) all work without problem. But if you add some library have problem in compilation.
1. Problem with MSMaterialDrawer: Resolved. In Appodeal_xx.jar delete folder "android".
2. Problem with HttUtils2 + okHttp: Problem Pending ( support Appodeal working progress ). If i have news, update this Thread.
 

susu

Well-Known Member
Licensed User
Longtime User
My app got only 3 clicks and earned $0.09. It's quite nice result.
 
Upvote 0

melonZgz

Active Member
Licensed User
Longtime User
I have a little problem with this.
Ads are working, but something strange has happened a very few times:
I have my game in landscape and then an ad shows in portrait! So my game restarts...The ads shown incorrect were from admob and amazon.
Most of times it's correct. Once it happened to me and another time it happened to a friend.
 
Upvote 0

canalrun

Well-Known Member
Licensed User
Longtime User
I have seen something similar.

A few times larger than normal banner ads have displayed.

They attempt to determine the proper ad size for your screen resolution. For example if the proper ad size they determine is 50 pixels high, I have seen several instances where a taller ad will be displayed (maybe 80 pixels high). The ads quickly revert back to the proper size.

I reported this error to Appodeal support several months ago. Be sure to tell them the error you have seen.

Barry.
 
Upvote 0

CyclopDroid

Well-Known Member
Licensed User
Longtime User
I've a problem with AppoDeal.
My game exit with abnormal error after view the ADS.
This is a error log:
...
...
...
** Activity (gioca) Resume **
[GIOCO] Resume
TIMER ATTIVI
txtTImer=false
timerRuota=false
TimerPausa=false
LedTimer=false
** Activity (gioca) Pause, UserClosed = false **
[GIOCA]:ENTRO IN PAUSE
** Activity (gioca) Resume **
[GIOCO] Resume
TIMER ATTIVI
txtTImer=false
timerRuota=false
TimerPausa=false
LedTimer=false
skippable video loaded
** Activity (gioca) Pause, UserClosed = false **
[GIOCA]:ENTRO IN PAUSE
sending message to waiting queue (handler_skippablevideoshown)
java.lang.AbstractMethodError: abstract method "void com.appodeal.ads.SkippableVideoCallbacks.onSkippableVideoClosed()"
at com.appodeal.ads.af$2.run(Unknown Source)
at android.app.Activity.runOnUiThread(Activity.java:5384)
at com.appodeal.ads.af.d(Unknown Source)
at com.appodeal.ads.g.b.onAdColonyAdAttemptFinished(Unknown Source)
at com.jirbo.adcolony.AdColonyInterstitialAd.a(SourceFile:149)
at com.jirbo.adcolony.a$a.handleMessage(SourceFile:352)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5637)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)

this is my code:

#Region Project Attributes
#AdditionalJar: android-support-v4-23.1.2-trimmed.jar
#AdditionalRes: C:\Program Files (x86)\Android\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib\res, com.google.android.gms
#AdditionalRes: C:\Program Files (x86)\Anywhere Software\Basic4android\Libraries\AppoDeal\res_unity_ads, com.unity3d.ads.android
#AdditionalJar: unity-ads-1.5.6.jar
#AdditionalJar: applovin-6.1.5.jar
#AdditionalJar: appodeal-1.14.12.jar
#AdditionalJar: chartboost-6.4.1.jar
#AdditionalJar: inmobi-5.2.3.jar
#AdditionalJar: flurry-analytics-6.2.0.jar
#AdditionalJar: my-target-4.3.10.jar
#AdditionalJar: yandex-metrica-2.32.jar
#ExcludeClasses: .drive, .fitness, .wearable, .measurement, .cast, .auth, .nearby


...if not exlude class, i've error of too much.

GIOCA GLOBAL
Dim Appodeal As AppodealB4A
Dim appKey As String = "mye key AppoDeal"


Sub Activity_Create(FirstTime As Boolean)
'APPODEAL
If FirstTime=True Then
Appodeal.setEventHandler("Handler")
Appodeal.setSkippableVideoCallbacks()
Appodeal.confirm(Appodeal.SKIPPABLE_VIDEO)
Appodeal.initialize(appKey, Bit.Or(Appodeal.INTERSTITIAL, Appodeal.SKIPPABLE_VIDEO))
End If

Sub imgMob_click
If Appodeal.isLoaded(Appodeal.SKIPPABLE_VIDEO) Then
Appodeal.show(Appodeal.SKIPPABLE_VIDEO)
End If
End Sub

Sub Handler_SkippableVideoLoaded()
Log("skippable video loaded")
End Sub

Sub Handler_SkippableFailedToLoad()
Log("skippable video failed to load")
End Sub

Sub Handler_SkippableVideoShown()
Log("skippable video shown")
End Sub

Sub Handler_SkippableVideoClosed()
Log("skippable video closed")
End Sub

Sub Handler_SkippableVideoFinished()
Log("skippable video shown")
End Sub
 
Last edited:
Upvote 0
Top