I've added an arr file to my project as a module, and added that module as a dependency to my app's module. I can import the class that throws the error like so:
import com.example.my_project.MyProject;
and it compiles without error. But when I compile and run it (without any reeference to the code! All I have is the dependency!!!!!), then I get the following error:
java.lang.RuntimeException: Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication: java.lang.IllegalStateException: java.lang.ClassNotFoundException: it.slyce.slyce_messaging.SlyceMessagingApi
............
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.my_project.MyProject" on path: DexPathList[[zip file "/data/app/xyz.matthewpage.testtest-1/base.apk"],nativeLibraryDirectories=[/data/app/xyz.matthewpage.testtest-1/lib/arm, /vendor/lib, /system/lib]]
Anyone run into this issue before? I tried a lot of the other threads from stack overflow, but all of those used maven while Android Studio uses gradle. Any ideas for a Gradle fix?