- Home /
Android Custom Activity
According to the documentation under the Android plugin section, when you build an activity extending UnityActivity you have to compress the resulting .class files into a .jar file and place it under Assets->Plugins->Android. I have my Jar file stored over there, with the classes.jar name, nevertheless when I run the game it does using UnityActivity and it can't even find muy class by JNI. Is there a special name for the file, or an extra setup I've got to do?
Did you update the Android manifest file to change activity to the newly created one?
Your answer
![](https://koobas.hobune.stream/wayback/20220612105340im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Android Unity, Screen Recording and MediaProjection APIs - UnityPlayerActivity hang. 0 Answers
Android - Touch input won't work, Invisible activity in front of Unity activity 0 Answers
How to open transparent activity from UnityPlayerActivity? 0 Answers
How to start the UnityPlayerActivity from a java plugin that overrides the basic Android Activity 1 Answer
Custom Android Textfield and Button 0 Answers