Android Question High eCPM ad network Appodeal SDK for B4A errors

Discussion in 'Android Questions' started by cambopad, Jul 13, 2015.

  1. cambopad

    cambopad Active Member Licensed User

    Hi everyone!

    I just discovered a good ad network which will automatically optimizes the eCPM among many different ad networks such as Admob, UnityAd, Chartboost,..etc for you so that you will get the highest revenue for your apps without wasting your app traffics. This network is Appodeal!

    You don't need to waste time for creating accounts with admob,UnityAd, Chartboost, or other ad networks. All you need is ONE account with Appodeal!

    This is their homepage:
    Their B4A wrapper:

    They actually have B4A wrapper, yet I cannot get it working with B4A app at all. After integrating their SDK, my app always crashed and get the following error message:

    ** Activity (main) Create, isFirst = true **

    java.lang.VerifyError: com/appodeal/ads/banner/a

    1.<init>(Unknown Source)
        at<clinit>(Unknown Source)
        at Source)
        at Source)
        at com.appodeal.basic4android.AppodealB4A.initialize(
        at b4a.example.main._activity_create(
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(
        at anywheresoftware.b4a.BA.raiseEvent2(
        at b4a.example.main.afterFirstLayout(
        at b4a.example.main.access$
        at b4a.example.main$
        at android.os.Handler.handleCallback(
        at android.os.Handler.dispatchMessage(
        at android.os.Looper.loop(
        at java.lang.reflect.Method.invokeNative(Native Method)

        at java.lang.reflect.Method.invoke(
        at dalvik.system.NativeStart.main(Native Method)
    java.lang.RuntimeException: An error occured 
    while executing doInBackground()
        at android.os.AsyncTask$
        at java.util.concurrent.FutureTask.finishCompletion(
        at java.util.concurrent.FutureTask.setException(
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$
    Caused by: java.lang.NoClassDefFoundError: com/appodeal/ads/c
        at$b.a(Unknown Source)
        at$b.doInBackground(Unknown Source)
        at android.os.AsyncTask$
    3 more
    Note: I tested on both real device and emulator!
    Can anyone help me what are the real causes of this problem?
  2. susu

    susu Well-Known Member Licensed User

    Just my guess: You forgot to copy Appodeal SDK jar file to Additional Library?
    cambopad likes this.
  3. cambopad

    cambopad Active Member Licensed User

    I already copied Appodeal SDK jar and their xml file to Additional Lib folder! I don't really know what's wrong with it!
  4. susu

    susu Well-Known Member Licensed User

    Did you add permissions into AndroidManifest.xml ?
    Sorry, I'm using mobile so I can't test it. I will try it later.
    cambopad likes this.
  5. cambopad

    cambopad Active Member Licensed User

    Hi @susu, I added all neccessary permissions already! I followed all the instructions on their website, yet no luck at all!
    Please let me know if you can get it working :)
  6. susu

    susu Well-Known Member Licensed User

    Honestly, I tried to make sample app with their SDK but I can't compile because error in Manifest file. I think you should ask Appodeal for support. Sorry, I can't help you.
    cambopad likes this.
  7. cambopad

    cambopad Active Member Licensed User

    I tried to ask them for support but haven't been able to solve the problem yet! :(
  8. Diana_app

    Diana_app Member

    cambopad likes this.
  9. eSolution

    eSolution Member Licensed User

    It worked great for me, it installed easy and the sample app was enough.
    Last edited: Mar 11, 2016
  10. cambopad

    cambopad Active Member Licensed User

    Thanks you! I solved the issue already! The SDK now works great!
  11. eSolution

    eSolution Member Licensed User

    how are the earnings from this network from your experience? I want to publish my app and my only experience is with Admob... Should I stick with Admob only?
  12. LucaMs

    LucaMs Expert Licensed User

    No answers to the previous @eSolution's post?

    Is Appodeal a good choice?
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice