I'm trying to create an instance of a java class in Unity using the
AndroidJavaProxy class. Usually, when I do this, the interfaces in the java side are either created by me or never inside a class. In this instance, the interface is inside a class (more specifically, it's the
android.app.Application.ActivityLifecycleCallbacks interface, that's inside the Application class).
When I run my application, I am given an error, indicating that the interface wasn't found:
Using a java interface inside a java class to create an AndroidJavaObject instance
AndroidJavaProxy class. Usually, when I do this, the interfaces in the java side are either created by me or never inside a class. In this instance, the interface is inside a class (more specifically, it's the
android.app.Application.ActivityLifecycleCallbacks interface, that's inside the Application class).
When I run my application, I am given an error, indicating that the interface wasn't found: