API minimum flutter

63 views
Skip to first unread message

Rodrigo Developers

unread,
Jul 31, 2018, 10:11:35 PM7/31/18
to Flutter Dev
Hello, does flutter require a minimum version of API to run? the API 21 +
because whenever I try to run an application in API 19 it fails.

Dineshkumar

unread,
Jul 31, 2018, 10:18:49 PM7/31/18
to Flutter Dev
Hey did you can change it in android folder (android --> app--> build.gradle) in this file you'll find a targetSdkVersion and minSdkVersion.

Rodrigo Developers

unread,
Jul 31, 2018, 10:52:50 PM7/31/18
to Flutter Dev
It is in the minima version 19,
just that whenever the app opens it fails me in API 19 below, so logcat gives me this.


Exception thrown during pause
    android.os.DeadObjectException
        at android.os.BinderProxy.transact (Native Method)
        at android.app.ApplicationThreadProxy.schedulePauseActivity (ApplicationThreadNative.java:660)
        at com.android.server.am.ActivityStack.startPausingLocked (ActivityStack.java:761)
        at com.android.server.am.ActivityStack.finishActivityLocked (ActivityStack.java:2455)
        at com.android.server.am.ActivityStack.finishTopRunningActivityLocked (ActivityStack.java:2329)
        at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked (ActivityStackSupervisor.java:2035)
        at com.android.server.am.ActivityManagerService.handleAppCrashLocked (ActivityManagerService.java:9543)
        at com.android.server.am.ActivityManagerService.makeAppCrashingLocked (ActivityManagerService.java:9436)
        at com.android.server.am.ActivityManagerService.crashApplication (ActivityManagerService.java:10081)
        at com.android.server.am.ActivityManagerService.handleApplicationCrashInner (ActivityManagerService.java:9632)
        at com.android.server.am.NativeCrashListener $ NativeCrashReporter.run (NativeCrashListener.java:86)
07-31 23: 49: 47,719 1577-1588 / system_process I / ActivityManager: Process br.com.allmarketingbussines.allmarketingoficial (pid 3528) has died.

Eric Seidel

unread,
Aug 1, 2018, 11:59:07 AM8/1/18
to Dineshkumar, Flutter Dev
Flutter itself should support all the way down to v16.  If you hit issues, those are bugs and we'd love to learn about them!
https://flutter.io/faq/#what-devices-and-os-versions-does-flutter-run-on

Individual flutter plugins may have more restricted ranges than that.

--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Eric Seidel

unread,
Aug 1, 2018, 1:10:29 PM8/1/18
to Dineshkumar, Flutter Dev
Reply all
Reply to author
Forward
0 new messages