Results 48 comments of aston

You now get `ClassNotFoundException`, so, the compilation succeeded I guess. The reason for this exception is that the `j4rs-VERSION-jar-with-dependencies.jar` should be in the classpath. Have you included it in the...

Implemented the ability to use `j4rs` along with android-activity. I will soon update the README with instructions how to do it. In a nutshell, you should be able to pass...

For more details, please see this [example project](https://github.com/astonbitecode/j4rs-android-activity).

You should create the `Jvm` defining `detach_thread_on_drop(false)`: ```rust let jvm = JvmBuilder::new().detach_thread_on_drop(false).build().unwrap(); ``` in order not to detach the main thread on `Jvm` drop.

I overlooked your question, sorry. The main problem with this approach is that `j4rs` cannot work without the j4rs jar file (currently `j4rs-0.18.0-jar-with-dependencies.jar`). This means that the jar should be...

Well, it depends what you want to do. Please correct me if I am wrong, but I guess things can get clunky if you decide to have everything in native...

Meanwhile, I have [asked](https://github.com/rust-mobile/android-activity/issues/159) the `android-activity` devs whether it is possible to add any java classes or jars to the classpath of the JavaVM being created. If the answer is...

Yes, I also saw this... the `jni_onload` is called when the JVM is initialized by Android when we have a Java/Kotlin app. Here, as you also understood, we need to...

> I've quickly hacked together a feature on `xbuild` to put the `classes.dex` file in the root via the `android: dexes: []` manifest property, and pushed a little repo to...

I [forked](https://github.com/astonbitecode/android-support-j4rs) your repo @MarijnS95 and made some changes in order o bring it closer to using `j4rs`. I updated the `README` with some more details on how to create...