Skip to content

Flutter on Android 10 (API level 29) issues #39827

@SiyrisSoul

Description

@SiyrisSoul

Steps to Reproduce

  1. Update physical device to the final version of Android 10.
  2. Try to run app on device.

I've been able to successfully run my app on the same device (Pixel XL) on all the beta version of Android 10. Yesterday upon updating to the final update via OTA I was no longer able to compile. The same build on other devices not running Android 10 works perfectly.

Logs

Captured in this gist

I'm 99% sure the analyze log issues aren't the source as the build works fine on other devices.

   info - The value of the field '_lastNameTextController' isn't used - lib\screens\auth\auth_screen.dart:37:31 - unused_field
   info - The method '_buildPriceTextField' isn't used - lib\screens\manager\widgets\tab_create.dart:210:10 - unused_element
   info - This function has a return type of 'Future<bool>', but doesn't end with a return statement - lib\screens\profile\profile_screen.dart:100:18 - missing_return
[√] Flutter (Channel stable, v1.7.8+hotfix.4, on Microsoft Windows [Version 10.0.18362.295], locale en-US)
    • Flutter version 1.7.8+hotfix.4 at C:\src\flutter
    • Framework revision 20e59316b8 (7 weeks ago), 2019-07-18 20:04:33 -0700
    • Engine revision fee001c93f
    • Dart version 2.4.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
    • Android SDK at C:\Users\adam\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.1
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[√] Android Studio (version 3.4)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 37.1.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[√] VS Code (version 1.37.1)
    • VS Code at C:\Users\adam\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.4.0

[√] Connected device (1 available)
    • Pixel XL • HT6990207404 • android-arm64 • Android 10 (API 29)

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform-androidAndroid applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions