Unity3D includes some basic actions in the Android manifest file

I have a Unity3D project with several plugins in it. I use TapJoy, Prime31, Facebook, Native and other plugins. All of them must have MAIN activity in the Android manifest file. SInce, which is impossible, I began to look for solutions.

After much research, I found out that I can subclass the required java activity class and make it MAIN, instead, I have to call a super method to instantiate my required superclass. (The same answer is found in many forums).

My question is: how can I make all the "MAIN" plugins by subclassing only one and make it MAIN active? How can I initialize all actions as if they were BASIC? Maybe I can do this in C # without defining my own subclass?

Any help would be awesome. This problem was a headache for several days.

+3
source share

All Articles