-
Notifications
You must be signed in to change notification settings - Fork 68
Include JNI Java dependency on jni:setup
#698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What do you refer to by |
To support Kotlin coroutines, I added a support class called |
I'd suggest renaming Edit: Nevermind it may be better to build this locally. We wouldn't want to ship Jars with source. |
This has been solved in dart-archive/jnigen@c951f23#diff-5d579d061f6f7b79e6722500e378c3d2cc9f4078245b483ec39228a7a35637b7. |
Using JNI on Android is straightforward, as the java sources reside inside JNI's Android directory. This however is not the case for the standalone Dart projects, where the
.jar
file needs to be manually copied to the project.bindings_writer.dart
should copy thejni.jar
just as it copiesdartjni.h
to thesrc/
directory of the new JNI project. The.jar
file also needs to be built if it doesn't exist or the source has changed, similar to the APISummarizer in JNIgen.The text was updated successfully, but these errors were encountered: