Android Question Error with AppoDeal, help!

CyclopDroid

Well-Known Member
Licensed User
Longtime User
I've create ADS rewared with AppoDeal but when i rum my game and charge the ADS have this error:

"Oops! You sent request from invalid bundle_id. Please, make sure thet app bundle_id matches what you have set up in dashboard".

My game is not published now and i want test the new ADS.
The bunder id it's correct and i've change it for test but the error it's identical.
I don't know.
The video not run and this message appear int scren for 3 secon (close with X button) but i see increase the impression.
What is the problem?
Have you had the same problem?
How to solve it?
 

CyclopDroid

Well-Known Member
Licensed User
Longtime User
There anyone who can help me and AppoDeal uses? :eek: :confused:
However I have solved, by entering the project name in the bundle id ... but now I have a big problem.
1) When I load the ADS, these do not start right away, but I have to click several times on the button to receive gift(a circle appears running but it does not see anything but sometimes it works)...This happens even if you use connection 4G phone.
2) More seriously, when entering the code in the place below, the application crashes so abnormal after having closed the ADS

B4X:
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

This:Appodeal.setSkippableVideoCallbacks() cause the abnormal exit app.
When I solve it?
 
Upvote 0

CyclopDroid

Well-Known Member
Licensed User
Longtime User
This 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

LucaMs

Expert
Licensed User
Longtime User
I would try:

' Appodeal.setSkippableVideoCallbacks() ' COMMENTED OR REMOVE IT

Appodeal.initialize(appKey, Bit.Or(Appodeal.REWARDED_VIDEO, Appodeal.NON_SKIPPABLE_VIDEO)) 'use this to initialize ad types

Non skippable videos are more profitable ;)
 
Upvote 0
Top