- Home /
What I have to do to add com.unity3d to my Android game?
I have game on Android devices. I build it and I get errors because some plugins can't find com.unity3d.player. In Android Studio I don't have it in my hierarchy. It should be under java (classes.dex) but there is not. I have android.support, androidx, bitter and com.
This is what I tried already: - adding classes.jar to Plugins/Android but then it is displayed in Android Studio as classes2 and it is not appearing in my hierarchy, there is still classes.dex, not classes2.dex - adding UnityPlayerActivity.java to my project - adding to my custom gradle line with implementation/compileOnly com.unity3d.player but when I tried to build the syntax was incorrect
Your answer
Follow this Question
Related Questions
Using CustomUnityPlayerActivity, which inherits from UnityPlayerActivity, will cause problems. 0 Answers
android app dont start on device after inistalation 2 Answers
How do I override an Android Java class in Unity? 1 Answer
Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define 0 Answers