This example shows how to write custom java code in android/app/src and call it using bindings generated by JNIgen.
flutter run to run the app.These are general steps to integrate Java code into a Flutter project using JNIgen.
android/ subproject of the flutter app.tool/jnigen.dart in this example.flutter pub get.dart run.@Keep annotation (androidx.annotation.Keep) for code written in the application itself, or a proguard-rules file for external libraries.