Skip to content

flutter version >1.9.1 not working on Android 4.4 and lower #47609

Description

@guit4eva

Flutter doesn't run on Android 4.4 or lower when using Flutter version greater than 1.9.1 - on stable, dev, beta or master.

Steps to Reproduce

  1. flutter channel stable, `flutter channel upgrade'
  2. flutter create testapp (100% freshly created app)
  3. Run app on emulator or physical device (Android 4.4 or lower) - "Unfortunately, testapp has stopped working"
  4. flutter channel v1.9.1
  5. App runs correctly.

Activity

  1. iapicca commented on Dec 22, 2019

    @iapicca

    Hi @guit4eva
    can you please provide your flutter doctor -v
    and your flutter run --verbose?
    Thank you

  2. added
    c: regressionIt was better in the past than it is now
    platform-androidAndroid applications specifically
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Dec 22, 2019
  3. erlange commented on Dec 27, 2019

    @erlange

    The same happened to me also, v1.9.1+hotfix.2 seems to be the maximum version I'm confident with.

  4. mklim commented on Jan 18, 2020

    @mklim
    Contributor

    I tested on an SDK 16 emulator and master and couldn't reproduce an application crash. However I am consistently seeing the runner quitting even though the application on the emulator appears to run fine:

    [   +9 ms] Error waiting for a debug connection: Bad state: No element
    [   +1 ms] Error launching application on emulator-5554.
    

    I checked the ADB logs and didn't see anything immediately obvious.

  5. no-response commented on Jan 18, 2020

    @no-response

    Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
    Thanks for your contribution.

  6. dnfield commented on Jan 18, 2020

    @dnfield
    Contributor

    @jason-simmons says he also can't reproduce this on an API 16 physical device. @guit4eva if you have any additional details please add them and we can reopen this.

  7. guit4eva commented on Jan 18, 2020

    @guit4eva
    Author

    Hey there,

    Here are the requested logs:

    Flutter Run:

    [  +51 ms] executing: [C:\src\flutter\] git -c log.showSignature=false log -n 1 --pretty=format:%H
    [ +104 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
    [   +1 ms] 27321ebbad34b0a3fafe99fac037102196d655ff
    [        ] executing: [C:\src\flutter\] git describe --match v*.*.* --first-parent --long --tags
    [  +62 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
    [        ] v1.12.13+hotfix.5-0-g27321ebba
    [  +10 ms] executing: [C:\src\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
    [  +45 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
    [        ] origin/stable
    [        ] executing: [C:\src\flutter\] git ls-remote --get-url origin
    [  +40 ms] Exit code 0 from: git ls-remote --get-url origin
    [        ] https://github.com/flutter/flutter.git
    [ +128 ms] executing: [C:\src\flutter\] git rev-parse --abbrev-ref HEAD
    [  +40 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
    [        ] stable
    [ +133 ms] executing: C:\Users\Rudeboy\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
    [  +25 ms] Exit code 0 from: C:\Users\Rudeboy\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
    [        ] List of devices attached
               110103aa8898b200       device product:j1aceltexx model:SM_J110F device:j1acelte transport_id:4
               localhost:21503        device product:G011A model:G011A device:G011A transport_id:1
    [  +20 ms] C:\Users\Rudeboy\AppData\Local\Android\sdk\platform-tools\adb.exe -s 110103aa8898b200 shell getprop
    [  +77 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
    [   +9 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
    [   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
    [  +58 ms] Found plugin barcode_scan at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\barcode_scan-1.0.0\
    [  +12 ms] Found plugin cloud_firestore at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.12.11\
    [   +2 ms] Found plugin cloud_functions at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_functions-0.4.1+4\
    [   +9 ms] Found plugin file_picker at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\file_picker-1.4.3+2\
    [   +3 ms] Found plugin firebase_auth at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.15.1\
    [   +3 ms] Found plugin firebase_core at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.4.2+1\
    [   +3 ms] Found plugin firebase_messaging at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_messaging-6.0.3\
    [   +2 ms] Found plugin firebase_storage at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage-3.0.10\
    [   +7 ms] Found plugin flutter_image_compress at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_image_compress-0.6.3\
    [   +7 ms] Found plugin google_maps_flutter at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\google_maps_flutter-0.5.21+14\
    [   +1 ms] Found plugin google_sign_in at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\google_sign_in-4.0.14\
    [   +5 ms] Found plugin image_cropper at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\image_cropper-1.1.2\
    [   +4 ms] Found plugin location at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\location-2.3.5\
    [   +3 ms] Found plugin package_info at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\package_info-0.4.0+12\
    [   +2 ms] Found plugin path_provider at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-1.5.0\
    [   +2 ms] Found plugin permission_handler at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\permission_handler-4.0.0\
    [  +12 ms] Found plugin share at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\share-0.6.3+4\
    [   +3 ms] Found plugin sqflite at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\sqflite-1.1.8\
    [   +7 ms] Found plugin url_launcher at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-5.2.7\
    [  +97 ms] Found plugin barcode_scan at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\barcode_scan-1.0.0\
    [   +3 ms] Found plugin cloud_firestore at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.12.11\
    [        ] Found plugin cloud_functions at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_functions-0.4.1+4\
    [   +4 ms] Found plugin file_picker at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\file_picker-1.4.3+2\
    [        ] Found plugin firebase_auth at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.15.1\
    [   +1 ms] Found plugin firebase_core at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.4.2+1\
    [   +1 ms] Found plugin firebase_messaging at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_messaging-6.0.3\
    [        ] Found plugin firebase_storage at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage-3.0.10\
    [   +2 ms] Found plugin flutter_image_compress at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_image_compress-0.6.3\
    [   +3 ms] Found plugin google_maps_flutter at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\google_maps_flutter-0.5.21+14\
    [        ] Found plugin google_sign_in at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\google_sign_in-4.0.14\
    [   +3 ms] Found plugin image_cropper at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\image_cropper-1.1.2\
    [   +2 ms] Found plugin location at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\location-2.3.5\
    [   +2 ms] Found plugin package_info at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\package_info-0.4.0+12\
    [   +1 ms] Found plugin path_provider at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-1.5.0\
    [   +1 ms] Found plugin permission_handler at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\permission_handler-4.0.0\
    [   +7 ms] Found plugin share at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\share-0.6.3+4\
    [   +2 ms] Found plugin sqflite at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\sqflite-1.1.8\
    [   +4 ms] Found plugin url_launcher at C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-5.2.7\
    [  +59 ms] Generating C:\src\Apps\testapp\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
    [  +38 ms] ro.hardware = pxa1908
    [        ] ro.build.characteristics = phone
    [ +133 ms] executing: C:\Users\Rudeboy\AppData\Local\Android\sdk\build-tools\29.0.2\aapt dump xmltree C:\src\Apps\testapp\build\app\outputs\apk\app.apk AndroidManifest.xml
    [  +18 ms] Exit code 0 from: C:\Users\Rudeboy\AppData\Local\Android\sdk\build-tools\29.0.2\aapt dump xmltree C:\src\Apps\testapp\build\app\outputs\apk\app.apk AndroidManifest.xml
    [        ] N: android=http://schemas.android.com/apk/res/android
                 E: manifest (line=2)
                   A: android:versionCode(0x0101021b)=(type 0x10)0xff4
                   A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
                   A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1d
                   A: android:compileSdkVersionCodename(0x01010573)="10" (Raw: "10")
                   A: package="za.co.testapp" (Raw: "za.co.testapp")
                   A: platformBuildVersionCode=(type 0x10)0x1d
                   A: platformBuildVersionName=(type 0x10)0xa
                   E: uses-sdk (line=7)
                     A: android:minSdkVersion(0x0101020c)=(type 0x10)0x13
                     A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
                   E: uses-permission (line=13)
                     A: android:name(0x01010003)="android.permission.WRITE_EXTERNAL_STORAGE" (Raw: "android.permission.WRITE_EXTERNAL_STORAGE")
                   E: uses-permission (line=14)
                     A: android:name(0x01010003)="android.permission.READ_EXTERNAL_STORAGE" (Raw: "android.permission.READ_EXTERNAL_STORAGE")
                   E: uses-permission (line=15)
                     A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
                   E: uses-permission (line=16)
                     A: android:name(0x01010003)="android.permission.ACCESS_FINE_LOCATION" (Raw: "android.permission.ACCESS_FINE_LOCATION")
                   E: uses-permission (line=17)
                     A: android:name(0x01010003)="android.permission.CAMERA" (Raw: "android.permission.CAMERA")
                   E: uses-permission (line=18)
                     A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE" (Raw: "android.permission.ACCESS_NETWORK_STATE")
                   E: uses-permission (line=19)
                     A: android:name(0x01010003)="android.permission.ACCESS_COARSE_LOCATION" (Raw: "android.permission.ACCESS_COARSE_LOCATION")
                   E: uses-permission (line=20)
                     A: android:name(0x01010003)="android.permission.WAKE_LOCK" (Raw: "android.permission.WAKE_LOCK")
                   E: uses-permission (line=21)
                     A: android:name(0x01010003)="com.google.android.c2dm.permission.RECEIVE" (Raw: "com.google.android.c2dm.permission.RECEIVE")
                   E: uses-permission (line=22)
                     A: android:name(0x01010003)="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE" (Raw: "com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE")
                   E: uses-feature (line=24)
                     A: android:glEsVersion(0x01010281)=(type 0x11)0x20000
                     A: android:required(0x0101028e)=(type 0x12)0xffffffff
                   E: application (line=34)
                     A: android:label(0x01010001)="testapp" (Raw: "testapp")
                     A: android:icon(0x01010002)=@0x7f0d0001
                     A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                     A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                     E: meta-data (line=39)
                       A: android:name(0x01010003)="com.google.android.geo.API_KEY" (Raw: "com.google.android.geo.API_KEY")
                       A: android:value(0x01010024)="AIzaSyCZtk6drfVIn6qr9_L24II3aH89owWinCg" (Raw: "AIzaSyCZtk6drfVIn6qr9_L24II3aH89owWinCg")
                     E: activity (line=43)
                       A: android:name(0x01010003)="com.apptreesoftware.barcodescan.BarcodeScannerActivity" (Raw: "com.apptreesoftware.barcodescan.BarcodeScannerActivity")
                     E: activity (line=44)
                       A: android:theme(0x01010000)=@0x7f0f00d5
                       A: android:name(0x01010003)="za.co.testapp.MainActivity" (Raw: "za.co.testapp.MainActivity")
                       A: android:launchMode(0x0101001d)=(type 0x10)0x1
                       A: android:configChanges(0x0101001f)=(type 0x11)0x400037b4
                       A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                       A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                       E: meta-data (line=58)
                         A: android:name(0x01010003)="io.flutter.app.android.SplashScreenUntilFirstFrame" (Raw: "io.flutter.app.android.SplashScreenUntilFirstFrame")
                         A: android:value(0x01010024)=(type 0x12)0xffffffff
                       E: intent-filter (line=62)
                         E: action (line=63)
                           A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                         E: category (line=65)
                           A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                       E: intent-filter (line=67)
                         E: action (line=68)
                           A: android:name(0x01010003)="FLUTTER_NOTIFICATION_CLICK" (Raw: "FLUTTER_NOTIFICATION_CLICK")
                         E: category (line=70)
                           A: android:name(0x01010003)="android.intent.category.DEFAULT" (Raw: "android.intent.category.DEFAULT")
                     E: activity (line=73)
                       A: android:theme(0x01010000)=@0x7f0f015c
                       A: android:name(0x01010003)="com.yalantis.ucrop.UCropActivity" (Raw: "com.yalantis.ucrop.UCropActivity")
                       A: android:screenOrientation(0x0101001e)=(type 0x10)0x1
                     E: service (line=78)
                       A: android:name(0x01010003)="com.google.firebase.components.ComponentDiscoveryService" (Raw: "com.google.firebase.components.ComponentDiscoveryService")
                       A: android:exported(0x01010010)=(type 0x12)0x0
                       A: android:directBootAware(0x01010505)=(type 0x12)0xffffffff
                       E: meta-data (line=82)
                         A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.inappmessaging.display.FirebaseInAppMessagingDisplayRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.inappmessaging.display.FirebaseInAppMessagingDisplayRegistrar")
                         A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
                       E: meta-data (line=85)
                         A: android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.firebase.cloudfirestore.FlutterFirebaseAppRegistrar" (Raw: "com.google.firebase.components:io.flutter.plugins.firebase.cloudfirestore.FlutterFirebaseAppRegistrar")
                         A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
                       E: meta-data (line=88)
                         A: android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.firebaseauth.FlutterFirebaseAppRegistrar" (Raw: "com.google.firebase.components:io.flutter.plugins.firebaseauth.FlutterFirebaseAppRegistrar")
                         A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
                       E: meta-data (line=91)
                         A: android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.firebase.cloudfunctions.FlutterFirebaseAppRegistrar" (Raw: "com.google.firebase.components:io.flutter.plugins.firebase.cloudfunctions.FlutterFirebaseAppRegistrar")
                         A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
                       E: meta-data (line=94)
                         A: android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.firebase.storage.FlutterFirebaseAppRegistrar" (Raw: "com.google.firebase.components:io.flutter.plugins.firebase.storage.FlutterFirebaseAppRegistrar")
                         A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
                       E: meta-data (line=97)
                         A: android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.firebasemessaging.FlutterFirebaseAppRegistrar" (Raw: "com.google.firebase.components:io.flutter.plugins.firebasemessaging.FlutterFirebaseAppRegistrar")
                         A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
                       E: meta-data (line=100)
                         A: android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.firebase.core.FlutterFirebaseAppRegistrar" (Raw: "com.google.firebase.components:io.flutter.plugins.firebase.core.FlutterFirebaseAppRegistrar")
                         A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
                       E: meta-data (line=103)
                         A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.inappmessaging.FirebaseInAppMessagingRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.inappmessaging.FirebaseInAppMessagingRegistrar")
                         A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
                       E: meta-data (line=106)
                         A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar")
                         A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
                       E: meta-data (line=109)
                         A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.firestore.FirestoreRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.firestore.FirestoreRegistrar")
                         A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
                       E: meta-data (line=112)
                         A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.auth.FirebaseAuthRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.auth.FirebaseAuthRegistrar")
                         A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
                       E: meta-data (line=115)
                         A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.functions.FunctionsRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.functions.FunctionsRegistrar")
                         A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
                       E: meta-data (line=118)
                         A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.storage.StorageRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.storage.StorageRegistrar")
                         A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
                       E: meta-data (line=121)
                         A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.abt.component.AbtRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.abt.component.AbtRegistrar")
                         A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
                       E: meta-data (line=124)
                         A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.datatransport.TransportRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.datatransport.TransportRegistrar")
                         A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
                       E: meta-data (line=127)
                         A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.iid.Registrar" (Raw: "com.google.firebase.components:com.google.firebase.iid.Registrar")
                         A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
                     E: service (line=131)
                       A: android:name(0x01010003)="io.flutter.plugins.firebasemessaging.FlutterFirebaseMessagingService" (Raw: "io.flutter.plugins.firebasemessaging.FlutterFirebaseMessagingService")
                       E: intent-filter (line=132)
                         E: action (line=133)
                           A: android:name(0x01010003)="com.google.firebase.MESSAGING_EVENT" (Raw: "com.google.firebase.MESSAGING_EVENT")
                     E: activity (line=137)
                       A: android:theme(0x01010000)=@0x01030007
                       A: android:name(0x01010003)="io.flutter.plugins.urllauncher.WebViewActivity" (Raw: "io.flutter.plugins.urllauncher.WebViewActivity")
                       A: android:exported(0x01010010)=(type 0x12)0x0
                     E: activity (line=141)
                       A: android:theme(0x01010000)=@0x01030010
                       A: android:name(0x01010003)="com.google.firebase.auth.internal.FederatedSignInActivity" (Raw: "com.google.firebase.auth.internal.FederatedSignInActivity")
                       A: android:permission(0x01010006)="com.google.firebase.auth.api.gms.permission.LAUNCH_FEDERATED_SIGN_IN" (Raw: "com.google.firebase.auth.api.gms.permission.LAUNCH_FEDERATED_SIGN_IN")
                       A: android:exported(0x01010010)=(type 0x12)0xffffffff
                       A: android:excludeFromRecents(0x01010017)=(type 0x12)0xffffffff
                       A: android:launchMode(0x0101001d)=(type 0x10)0x2
                     E: service (line=152)
                       A: android:name(0x01010003)="com.google.firebase.messaging.FirebaseMessagingService" (Raw: "com.google.firebase.messaging.FirebaseMessagingService")
                       A: android:exported(0x01010010)=(type 0x12)0x0
                       E: intent-filter (line=155)
                         A: android:priority(0x0101001c)=(type 0x10)0xfffffe0c
                         E: action (line=156)
                           A: android:name(0x01010003)="com.google.firebase.MESSAGING_EVENT" (Raw: "com.google.firebase.MESSAGING_EVENT")
                     E: receiver (line=160)
                       A: android:name(0x01010003)="com.google.firebase.iid.FirebaseInstanceIdReceiver" (Raw: "com.google.firebase.iid.FirebaseInstanceIdReceiver")
                       A: android:permission(0x01010006)="com.google.android.c2dm.permission.SEND" (Raw: "com.google.android.c2dm.permission.SEND")
                       A: android:exported(0x01010010)=(type 0x12)0xffffffff
                       E: intent-filter (line=164)
                         E: action (line=165)
                           A: android:name(0x01010003)="com.google.android.c2dm.intent.RECEIVE" (Raw: "com.google.android.c2dm.intent.RECEIVE")
                     E: provider (line=169)
                       A: android:name(0x01010003)="com.google.firebase.provider.FirebaseInitProvider" (Raw: "com.google.firebase.provider.FirebaseInitProvider")
                       A: android:exported(0x01010010)=(type 0x12)0x0
                       A: android:authorities(0x01010018)="za.co.testapp.firebaseinitprovider" (Raw: "za.co.testapp.firebaseinitprovider")
                       A: android:initOrder(0x0101001a)=(type 0x10)0x64
                     E: service (line=175)
                       A: android:name(0x01010003)="com.google.android.datatransport.runtime.backends.TransportBackendDiscovery" (Raw: "com.google.android.datatransport.runtime.backends.TransportBackendDiscovery")
                       A: android:exported(0x01010010)=(type 0x12)0x0
                       E: meta-data (line=178)
                         A: android:name(0x01010003)="backend:com.google.android.datatransport.cct.CctBackendFactory" (Raw: "backend:com.google.android.datatransport.cct.CctBackendFactory")
                         A: android:value(0x01010024)="cct" (Raw: "cct")
                     E: service (line=182)
                       A: android:name(0x01010003)="com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService" (Raw: "com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService")
                       A: android:permission(0x01010006)="android.permission.BIND_JOB_SERVICE" (Raw: "android.permission.BIND_JOB_SERVICE")
                       A: android:exported(0x01010010)=(type 0x12)0x0
                     E: receiver (line=188)
                       A: android:name(0x01010003)="com.google.android.datatransport.runtime.scheduling.jobscheduling.AlarmManagerSchedulerBroadcastReceiver" (Raw: "com.google.android.datatransport.runtime.scheduling.jobscheduling.AlarmManagerSchedulerBroadcastReceiver")
                       A: android:exported(0x01010010)=(type 0x12)0x0
                     E: provider (line=192)
                       A: android:name(0x01010003)="com.squareup.picasso.PicassoProvider" (Raw: "com.squareup.picasso.PicassoProvider")
                       A: android:exported(0x01010010)=(type 0x12)0x0
                       A: android:authorities(0x01010018)="za.co.testapp.com.squareup.picasso" (Raw: "za.co.testapp.com.squareup.picasso")
                     E: receiver (line=197)
                       A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementReceiver" (Raw: "com.google.android.gms.measurement.AppMeasurementReceiver")
                       A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
                       A: android:exported(0x01010010)=(type 0x12)0x0
                     E: receiver (line=202)
                       A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver" (Raw: "com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver")
                       A: android:permission(0x01010006)="android.permission.INSTALL_PACKAGES" (Raw: "android.permission.INSTALL_PACKAGES")
                       A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
                       A: android:exported(0x01010010)=(type 0x12)0xffffffff
                       E: intent-filter (line=207)
                         E: action (line=208)
                           A: android:name(0x01010003)="com.android.vending.INSTALL_REFERRER" (Raw: "com.android.vending.INSTALL_REFERRER")
                     E: service (line=212)
                       A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementService" (Raw: "com.google.android.gms.measurement.AppMeasurementService")
                       A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
                       A: android:exported(0x01010010)=(type 0x12)0x0
                     E: service (line=216)
                       A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementJobService" (Raw: "com.google.android.gms.measurement.AppMeasurementJobService")
                       A: android:permission(0x01010006)="android.permission.BIND_JOB_SERVICE" (Raw: "android.permission.BIND_JOB_SERVICE")
                       A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
                       A: android:exported(0x01010010)=(type 0x12)0x0
                     E: activity (line=222)
                       A: android:theme(0x01010000)=@0x01030010
                       A: android:name(0x01010003)="com.google.android.gms.auth.api.signin.internal.SignInHubActivity" (Raw: "com.google.android.gms.auth.api.signin.internal.SignInHubActivity")
                       A: android:exported(0x01010010)=(type 0x12)0x0
                       A: android:excludeFromRecents(0x01010017)=(type 0x12)0xffffffff
                     E: service (line=231)
                       A: android:name(0x01010003)="com.google.android.gms.auth.api.signin.RevocationBoundService" (Raw: "com.google.android.gms.auth.api.signin.RevocationBoundService")
                       A: android:permission(0x01010006)="com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION" (Raw: "com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION")
                       A: android:exported(0x01010010)=(type 0x12)0xffffffff
                     E: uses-library (line=235)
                       A: android:name(0x01010003)="org.apache.http.legacy" (Raw: "org.apache.http.legacy")
                       A: android:required(0x0101028e)=(type 0x12)0x0
                     E: activity (line=239)
                       A: android:theme(0x01010000)=@0x01030010
                       A: android:name(0x01010003)="com.google.android.gms.common.api.GoogleApiActivity" (Raw: "com.google.android.gms.common.api.GoogleApiActivity")
                       A: android:exported(0x01010010)=(type 0x12)0x0
                     E: meta-data (line=244)
                       A: android:name(0x01010003)="com.google.android.gms.version" (Raw: "com.google.android.gms.version")
                       A: android:value(0x01010024)=@0x7f090008
    [   +9 ms] Launching lib\main.dart on SM J110F in release mode...
    [   +1 ms] executing: C:\Users\Rudeboy\AppData\Local\Android\sdk\platform-tools\adb.exe -s 110103aa8898b200 shell -x logcat -v time -s flutter
    [   +7 ms] executing: C:\Users\Rudeboy\AppData\Local\Android\sdk\platform-tools\adb.exe version
    [  +35 ms] Android Debug Bridge version 1.0.41
               Version 29.0.5-5949299
               Installed as C:\Users\Rudeboy\AppData\Local\Android\sdk\platform-tools\adb.exe
    [   +2 ms] executing: C:\Users\Rudeboy\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
    [  +39 ms] Building APK
    [  +17 ms] Running Gradle task 'assembleRelease'...
    [   +2 ms] gradle.properties already sets `android.enableR8`
    [   +3 ms] Using gradle from C:\src\Apps\testapp\android\gradlew.bat.
    [   +8 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
    [ +118 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
    [        ] openjdk version "1.8.0_202-release"
               OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
               OpenJDK 64-Bit Server VM (build 25.202-b03, mixed mode)
    [   +2 ms] executing: C:\Program Files\Android\jre\bin\java -version
    [ +106 ms] Exit code 0 from: C:\Program Files\Android\jre\bin\java -version
    [        ] openjdk version "1.8.0_152-release"
               OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
               OpenJDK 64-Bit Server VM (build 25.152-b01, mixed mode)
    [   +3 ms] executing: [C:\src\Apps\testapp\android\] C:\src\Apps\testapp\android\gradlew.bat -Pverbose=true -Ptarget=C:\src\Apps\testapp\lib\main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root -Ptarget-platform=android-arm assembleRelease
    [+1445 ms] > Configure project :app
    [        ] WARNING: API 'variant.getMergeResources()' is obsolete and has been replaced with 'variant.getMergeResourcesProvider()'.
    [        ] It will be removed at the end of 2019.
    [        ] For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
    [        ] To determine what is calling variant.getMergeResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
    [+4185 ms] > Task :app:compileFlutterBuildRelease
    [        ] [  +41 ms] executing: [C:\src\flutter\] git -c log.showSignature=false log -n 1 --pretty=format:%H
    [        ] [ +108 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
    [        ] [   +1 ms] 27321ebbad34b0a3fafe99fac037102196d655ff
    [        ] [        ] executing: [C:\src\flutter\] git describe --match v*.*.* --first-parent --long --tags
    [        ] [  +69 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
    [        ] [        ] v1.12.13+hotfix.5-0-g27321ebba
    [        ] [  +10 ms] executing: [C:\src\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
    [        ] [  +60 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
    [        ] [        ] origin/stable
    [        ] [        ] executing: [C:\src\flutter\] git ls-remote --get-url origin
    [        ] [  +46 ms] Exit code 0 from: git ls-remote --get-url origin
    [        ] [        ] https://github.com/flutter/flutter.git
    [        ] [ +102 ms] executing: [C:\src\flutter\] git rev-parse --abbrev-ref HEAD
    [        ] [  +41 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
    [        ] [        ] stable
    [        ] [  +23 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
    [        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
    [        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
    [        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
    [        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
    [        ] [   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
    [        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
    [        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
    [        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
    [        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
    [        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
    [        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
    [        ] [ +117 ms] Initializing file store
    [        ] [  +35 ms] Done initializing file store
    [+1196 ms] [+1711 ms] kernel_snapshot: Starting due to {}
    [        ] [  +21 ms] C:\src\flutter\bin\cache\dart-sdk\bin\dart.exe C:\src\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\src\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk_product/ --target=flutter -Ddart.developer.causal_async_stacks=true -Ddart.vm.profile=false -Ddart.vm.product=true --bytecode-options=source-positions --aot --tfa --packages C:\src\Apps\testapp\.packages --output-dill C:\src\Apps\testapp\.dart_tool\flutter_build\b8a7f94e8a87340a649cc75dbb1c881b\app.dill --depfile C:\src\Apps\testapp\.dart_tool\flutter_build\b8a7f94e8a87340a649cc75dbb1c881b\kernel_snapshot.d package:testapp/main.dart
    [+6687 ms] [+6693 ms] Persisting file store
    [  +99 ms] [  +24 ms] Done persisting file store
    [   +1 ms] [   +9 ms] "flutter assemble" took 10,824ms.
    [   +5 ms] > Task :app:compileFlutterBuildRelease FAILED
    [        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
    [        ] Use '--warning-mode all' to show the individual deprecation warnings.
    [        ] See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings
    [        ] 1 actionable task: 1 executed
    [ +354 ms] Running Gradle task 'assembleRelease'... (completed in 16.4s)
    [   +6 ms] "flutter run" took 17,430ms.
    

    Flutter Doctor:

    [√] Flutter (Channel stable, v1.12.13+hotfix.5, on Microsoft Windows [Version 10.0.17763.973], locale en-US)
        • Flutter version 1.12.13+hotfix.5 at C:\src\flutter
        • Framework revision 27321ebbad (5 weeks ago), 2019-12-10 18:15:01 -0800
        • Engine revision 2994f7e1e6
        • Dart version 2.7.0
    
    [√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
        • Android SDK at C:\Users\Rudeboy\AppData\Local\Android\sdk
        • Android NDK location not configured (optional; useful for native profiling support)
        • Platform android-29, build-tools 29.0.2
        • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
        • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
        • All Android licenses accepted.
    
    [√] Android Studio (version 3.5)
        • Android Studio at C:\Program Files\Android\Android Studio
        • Flutter plugin version 42.1.1
        • Dart plugin version 191.8593
        • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    
    [√] Android Studio (version 3.5)
        • Android Studio at C:\Program Files\Android
        • Flutter plugin version 33.3.2
        • Dart plugin version 183.5901
        • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    
    [√] VS Code (version 1.41.1)
        • VS Code at C:\Users\Rudeboy\AppData\Local\Programs\Microsoft VS Code
        • Flutter extension version 3.7.1
    
    [√] Connected device (2 available)
        • SM J110F • 110103aa8898b200 • android-arm • Android 4.4.4 (API 19)
        • G011A    • localhost:21503  • android-x86 • Android 7.1.2 (API 25)
    
    • No issues found!
    
  8. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Jan 18, 2020
  9. guit4eva commented on Jan 29, 2020

    @guit4eva
    Author
  10. dnfield commented on Jan 29, 2020

    @dnfield
    Contributor

    No. In a pinch you can apply #49327 locally until this can arrive on stable.

  11. guit4eva commented on Jan 30, 2020

    @guit4eva
    Author
  12. iapicca commented on Feb 6, 2020

    @iapicca

    Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v' please.
    All system setups can be slightly different so it's always better to open new issues and reference related issues.

  13. christopherfujino commented on Feb 6, 2020

    @christopherfujino
    Contributor

    What would be the correct way to do this? I've tried git pull origin pull/49327/head, which results in a lot of merge conflicts. Is there another way to apply the PR locally - or automatically accept all incoming changes?
    …
    On Wed, Jan 29, 2020 at 10:10 PM Dan Field @.***> wrote: No. In a pinch you can apply #49327 <#49327> locally until this can arrive on stable. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#47609?email_source=notifications&email_token=AB2QQ57BCQOGYBQJTYGKECLRAHPDRA5CNFSM4J6LD4A2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKISKII#issuecomment-579937569>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2QQ562AWGVKSFVL746QXLRAHPDRANCNFSM4J6LD4AQ .

    @guit4eva You can switch to the dev channel, which currently has the fix, but may not be as stable. If you want to be on a known stable (but may involve some manual intervention to make sure it makes sense), you can upgrade to the latest stable (v1.12.13+hotfix.7) and then git cherry-pick the fix revision.

  14. christopherfujino commented on Feb 11, 2020

    @christopherfujino
    Contributor

    @guit4eva can you check out the dev channel and confirm whether or not your error still occurs? I am thinking that your issue may be different from the one that @jason-simmons fixed in #49327 as I believe that regression was introduced after v1.12.13 stable was cut. If you are still getting a gradle build error I may have to re-open this issue.

  15. github-actions commented on Aug 23, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  16. locked as resolved and limited conversation to collaborators on Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: regressionIt was better in the past than it is nowdependency: androidAndroid team may need to help usengineflutter/engine related. See also e: 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