Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Android Everyplay Plugin Runtime Error


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

link text link text

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: https://github.com/Everyplay/everyplay-android-sdk

Any ideas what might causing this error?

I have made a forum post here:link text

Best, Makis

Product Version: UE 4.13 Preview
everyplay_apl.txt (15.6 kB)
logcatgame.txt (707.0 kB)
more ▼

asked Aug 31 '16 at 06:02 PM in Packaging & Deployment

avatar image

1 2 3

avatar image Steve Hardister ♦♦ STAFF Sep 01 '16 at 07:42 PM

Hi Makis,

I see that you have been getting support in the forum post you linked to above. For other users interested in this topic, here's the information that's been provided thus far:

  • There are resource files in the SDK which you also need (the res directory).

  • The preferred method to add these resource files from the sdk to the build directory would be to copy the project directory to JavaLibs in

  • Or, since 4.13 now supports AAR files, you can package the resource file from the sdk to the build directory with the following line in the APL by adding it as a dependency in the aar-imports.txt: < copyFile src="$S(PluginDir)/../../res" dst="$S(BuildDir)/res" />

  • The UPL (new name for APL) can add to this list;

In regards to your next questions:

  • How do you add the sdk (packaged as an aar file) as a dependency in the aar-imports.txt ...when using a project plugin?

  • Where can you find more info about the new UPL in UE4.13?

Chris B would be the authority on these issues. If he does not respond in the next couple of days, post here that you haven't gotten a response and I will follow up with him to see if he has anything to add. Due to the workload with the engine, it may take as long as four business days to get a response to a post on the AnswerHub or Forums.

Steve H

avatar image Makis Sep 02 '16 at 06:38 PM

I added the new section to UPL and the aar file in Plugins/Everyplay/ThirdParty/respository/com/everyplay/Everyplay/1.5.3.

I tried to package project and i am getting an error:UnrealBuildTool Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\Epic Games\4.13\Engine\ThirdParty\repository'.

At some point i changed the add the .aar file in a similar folder path in the Engine directory and saw it extracting in to Unreal Projects\RisingBirds\Intermediate\Android\APK,but then i was getting another error about multidex error if i remember correctly.

Anyway i dont know if it is something wrong in the file structure or because i am missing the .pom file.

How we create the pom file, from Android studio?

By the way, here is the plugin file we everything i have done until now if anyone wants to give it a try with the aar, pom files and wants to use it in his game:

link text

everyplay.zip (2.4 MB)
(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

You left out the S in $S(PluginDir)/../../ThirdParty/repository in the Everyplay_APL.xml and commented out the AARImports section.

more ▼

answered Sep 02 '16 at 10:39 PM

avatar image

Chris Babcock STAFF
1k 11 110 35

avatar image Makis Sep 03 '16 at 07:14 AM

Hi Chris,

Thanks again for your answer.

If you checked the zip file, i uploaded commenting out the AARimports section,in case something was wrong, so if anyone wants to add the aar, pom files correctly, can try it from this point on.

The System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\Epic Games\4.13\Engine\ThirdParty\repository', error was with the AAR imports included.

But i think i was missing the S symbol from $S(PluginDir)/../../ThirdParty/repository in the Everyplay_APL.xml, at your first post withh AAR impors it was missing too, so i didn't notice it either, sorry.

I will try it to package again the project later with the proper aar imports and see what i am getting.

Then I will look again how to make the pom file from the sdk.

avatar image Makis Sep 05 '16 at 06:56 PM

I corrected the missing symbol error. Now i am getting the following message:

AARImports: com.everyplay, Everyplay, 1.5.3

Unable to find package com.everyplay/Everyplay!

I added the following pom file:

 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

But i am still getting the same error.

link text

avatar image FilAl Nov 02 '17 at 02:12 PM

Me too. Pls help!

avatar image Makis Nov 03 '17 at 07:55 AM

Hi check this link link text to see how i solved the packaging problem with pom file. Although the Everyplay plugin never worked, It can save the video but it has a problem when you trying to share the video through the Everyplay sharing screen.

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question