Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Using a java interface inside a java class to create an AndroidJavaObject instance

$
0
0
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

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>