Hello,
I am working on few plugins for android, rewarded video ads from, AdColony, AppLovin, Chartboost, UnityAds, Vungle,a simple Sharing plugin so you can share for example to email your score and link of your application and Everyplay. Everyplay is a service which allows you to share gameplay videos from your game. I will release them all to UE4 community for free once they are all tested
I am using the latest 4.13 preview3 version of the engine.
I am testing Everyplay plugin right now. The plugin seems to be initialized properly, i am getting an event from the sdk but when i am calling a method, application crashes and i am getting an error:
E/AndroidRuntime(31909): java.lang.NoClassDefFoundError: Failed resolution of: Lcom/everyplay/Everyplay/R$layout;
E/AndroidRuntime(31909): at com.everyplay.Everyplay.view.ag.(Unknown Source)
E/AndroidRuntime(31909): at com.everyplay.Everyplay.view.bi.m(Unknown Source)
E/AndroidRuntime(31909): at com.everyplay.Everyplay.view.bi.(Unknown Source)
E/AndroidRuntime(31909): at com.everyplay.Everyplay.view.f.b(Unknown Source)
E/AndroidRuntime(31909): at com.everyplay.Everyplay.view.EveryplaySocialActivity.onCreate(Unknown Source)
/…/
E/AndroidRuntime(31909): Caused by: java.lang.ClassNotFoundException: Didn’t find class “com.everyplay.Everyplay.R$layout” on path: DexPathList[[zip file “/data/app/com.YourCompany.RisingBirds-1/base.apk”],nativeLibraryDirectories=[/data/app/com.YourCompany.RisingBirds-1/lib/arm, /vendor/lib, /system/lib]]
E/AndroidRuntime(31909): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/AndroidRuntime(31909): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
E/AndroidRuntime(31909): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
E/AndroidRuntime(31909): … 18 more
E/AndroidRuntime(31909): Suppressed: java.lang.ClassNotFoundException: com.everyplay.Everyplay.R$layout
E/AndroidRuntime(31909): at java.lang.Class.classForName(Native Method)
E/AndroidRuntime(31909): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
E/AndroidRuntime(31909): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
E/AndroidRuntime(31909): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
E/AndroidRuntime(31909): … 19 more
E/AndroidRuntime(31909): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
V/ApplicationPolicy( 927): isApplicationStateBlocked userId 0 pkgname com.YourCompany.RisingBirds
W/ActivityManager( 927): Force finishing activity com.YourCompany.RisingBirds/com.everyplay.Everyplay.view.EveryplaySocialActivity
W/ActivityManager( 927): Force finishing activity com.YourCompany.RisingBirds/com.epicgames.ue4.GameActivity
I have uploaded the APL file and the full logcat.
I have started making the plugins prior to 4.13 version.
I am not sure if i declare correctly the activities, in APL file, for the Androidmanifest, though it seems to write them correctly on APK package or the libraries are linked properly.
The Everyplay sdk is here: GitHub - Everyplay/everyplay-android-sdk: Everyplay SDK for Android
Any ideas what might causing this error?
I have made a forum post here:link text
Best,
Makis