Hello, I tried to make Activity that extends UnityPlayerActivity with this page.
But when I try to build my project, it failed and logged like this
I just organized my project like attached file.
Please teach me how to extends UnityPlayerActivity.
Hello, I tried to make Activity that extends UnityPlayerActivity with this page.
But when I try to build my project, it failed and logged like this
I just organized my project like attached file.
Please teach me how to extends UnityPlayerActivity.
Is that the whole error message? It looks like it’s missing the last part. But if the resource packaging fails it is probably because of a faulty manifest…
I’m having the same problem. I’m taking my example from here:
http://unity3d.com/support/documentation/Manual/Plugins.html#AndroidPlugins
and this is the whole error text I get:
So it looks like it’s not finding image and string resources, but where do we put these? I created override_example.jar, but I guess .jar files don’t store resources, just code?
Fixed it by dumping my res folder from my Eclipse project into my Unity project under Assets/Plugins/Android
Got the same problem and fixed it the same way, but then i ran into a different one.
a “ClassNotFoundException” (javavm not finding my overloaded activity class).
First time using java for me so its probably a newbie misstake. I compiled in eclipse using Android 2.2 (8) target and then did “jar cvf TestPlugin.jar *.class” from my bin folder and placed in …/assets/plugin/android. Unity finds the manifest and package viewer on my devkit lists my overloaded activity as the only one in package. Any suggestions?