- Home /
Android plugin. There is no the UnityPlayer class in classes.jar
I'm trying to create android plugin for Unity3d. Accordingly to this manual: http://docs.unity3d.com/Documentation/Manual/PluginsForAndroid.html created plugin (extended activity from UnityPlayerActivity) and included it into Unity project. Everything is ok but I cannot send messages to Unity3d objects because there is no the UnityPlayer class in the included classes.jar. Does someone have experience with such problem?
ANSWER: May be helpful for someone. The problem was in IntelliJ IDEA IDE. There is no such problem in Eclipse!
Comment
Hi, how did you solved the issue now that Android Studio is the standard? If you did, could you please post your build.gradle
? It might help solve other similar problems (like the one I'm having :) ) . Thank you!
Your answer
![](https://koobas.hobune.stream/wayback/20220613073730im_/https://answers.unity.com/themes/thub/images/avi.jpg)