Hi
I am Trying to integrate the appodeal SDK into my b4a application.
Whenever the app run , i get the following error
** Activity (main) Create, isFirst = true **
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/GoogleApiAvailability;
at com.appodeal.ads.Appodeal.initialize(Unknown Source)
at com.appodeal.basic4android.AppodealB4A.initialize(AppodealB4A.java:39)
at com.TheFoodRadar.MegaFan.main._activity_create(main.java:354)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:187)
at com.TheFoodRadar.MegaFan.main.afterFirstLayout(main.java:100)
at com.TheFoodRadar.MegaFan.main.access$100(main.java:17)
at com.TheFoodRadar.MegaFan.main$WaitForLayout.run(main.java:78)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.GoogleApiAvailability" on path: DexPathList[[zip file "/data/app/com.TheFoodRadar.MegaFan-2/base.apk"],nativeLibraryDirectories=[/data/app/com.TheFoodRadar.MegaFan-2/lib/arm, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
... 15 more
Suppressed: java.lang.ClassNotFoundException: com.google.android.gms.common.GoogleApiAvailability
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 16 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
I guess this error is google-play related
When i open the SDK manager i see that Google play services Rev 38 is installed , but I can not find the google-play-services.jar file under <sdk>\extras\google\google_play_services.
Any help would be appreciated.
Thanks,Idan
I am Trying to integrate the appodeal SDK into my b4a application.
Whenever the app run , i get the following error
** Activity (main) Create, isFirst = true **
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/GoogleApiAvailability;
at com.appodeal.ads.Appodeal.initialize(Unknown Source)
at com.appodeal.basic4android.AppodealB4A.initialize(AppodealB4A.java:39)
at com.TheFoodRadar.MegaFan.main._activity_create(main.java:354)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:187)
at com.TheFoodRadar.MegaFan.main.afterFirstLayout(main.java:100)
at com.TheFoodRadar.MegaFan.main.access$100(main.java:17)
at com.TheFoodRadar.MegaFan.main$WaitForLayout.run(main.java:78)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.GoogleApiAvailability" on path: DexPathList[[zip file "/data/app/com.TheFoodRadar.MegaFan-2/base.apk"],nativeLibraryDirectories=[/data/app/com.TheFoodRadar.MegaFan-2/lib/arm, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
... 15 more
Suppressed: java.lang.ClassNotFoundException: com.google.android.gms.common.GoogleApiAvailability
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 16 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
I guess this error is google-play related
When i open the SDK manager i see that Google play services Rev 38 is installed , but I can not find the google-play-services.jar file under <sdk>\extras\google\google_play_services.
Any help would be appreciated.
Thanks,Idan