Flutter: io.flutter.embedding.engine.FlutterJNI.loadLibrary

Viewed 2209

From Crashlytics in Firebase I get this error in my Flutter app:

FlutterJNI.java – line 116 io.flutter.embedding.engine.FlutterJNI.loadLibrary

or

FlutterJNI.java – line 1230 io.flutter.embedding.engine.FlutterJNI.ensureRunningOnMainThread

apparently, a solution is to add this in settings.gradle:

gradle.beforeProject({ project->
    project.setProperty("target-platform", "android-arm")
})

But the problem is that I will remove support for all of these devices (some of them bought my app):

enter image description here

Is that the only solution?

0 Answers
Related