Hi, I was following the documentation to make a custom Acitivity derived from UnityActivity. I packaged the .class files in a file named classes.jar and stored it in a folder named Android inside the Plugins folder, just as the documentation says. The problem is that there is no specified name for the .jar file, I just used the same it had in the playback engine’s source, and I don’t know whether that is the reason Unity doesn’t load my activity instead of the default activity. I think the .jar is OK because the classpath shows the path to classes.jar, the manifest is just like the one spotted in the documentation, and my .class files are in their respective packages. I think maybe another configuration is needed, but I don’t find it, has someone tried this succesfully?
Yes, and I wrote a post about it.
I’m not sure what went wrong, but it’s definitely not the name of the JAR file - that’s not important.
Perhaps it’s UnityActivity. I didn’t use this class; I derived from UnityPlayerActivity.