Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cloud_firestore] Unable to run debug mode on Flutter SDK beta release, but it will run on release mode #2611

Closed
vinceramcesoliveros opened this issue May 23, 2020 · 1 comment

Comments

@vinceramcesoliveros
Copy link

vinceramcesoliveros commented May 23, 2020

Describe the bug
Firestore gives an error on debug mode, but still runs on release mode

To Reproduce
Steps to reproduce the behavior:

  1. create app - flutter create example
  2. follow the instructions in the firestore plugin
  3. error on debug mode, pass on release mode.

Expected behavior
A clear and concise description of what you expected to happen.
Run Flutter app on debug mode.

Additional context
Add any other context about the problem here.

NOTE: THE LOGS ARE RUNNING IN VERBOSE MODE

logs
[  +13 ms] executing: [C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +72 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 2738a1148ba6c9a6114df62358109407c3ef2553
[        ] executing: [C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter/] git tag --contains HEAD
[ +228 ms] Exit code 0 from: git tag --contains HEAD
[   +1 ms] 1.18.0-11.1.pre
[  +13 ms] executing: [C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +37 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter/] git ls-remote --get-url origin
[  +35 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +86 ms] executing: [C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter/] git rev-parse --abbrev-ref HEAD
[ +239 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[  +71 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.
[   +6 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.
[  +23 ms] executing: C:\Users\bluse\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +51 ms] List of devices attached
           JFKB8LSGYSRCNFNF       device product:RMX2020 model:RMX2020 device:RMX2020 transport_id:1
[   +8 ms] C:\Users\bluse\AppData\Local\Android\sdk\platform-tools\adb.exe -s JFKB8LSGYSRCNFNF shell getprop
[ +103 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +5 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.
[   +2 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.
[ +210 ms] Found plugin cloud_firestore at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.13.5\
[  +12 ms] Found plugin cloud_firestore_web at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore_web-0.1.1+2\
[  +12 ms] Found plugin device_info at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\device_info-0.4.2+4\
[   +4 ms] Found plugin e2e at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\e2e-0.4.3+1\
[   +9 ms] Found plugin firebase_core at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.4.4+3\
[   +3 ms] Found plugin firebase_core_web at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.1.1+2\
[   +2 ms] Found plugin firebase_crashlytics at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_crashlytics-0.1.3+3\
[   +8 ms] Found plugin flutter_plugin_android_lifecycle at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.8\
[   +4 ms] Found plugin geolocator at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\geolocator-5.3.1\
[   +3 ms] Found plugin google_api_availability at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\google_api_availability-2.0.4\
[   +6 ms] Found plugin google_maps_flutter at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\google_maps_flutter-0.5.28+1\
[  +34 ms] Found plugin location at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\location-3.0.2\
[   +2 ms] Found plugin location_permissions at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\location_permissions-2.0.5\
[   +3 ms] Found plugin location_web at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\location_web-1.0.0\
[  +16 ms] Found plugin path_provider at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-1.6.9\
[   +1 ms] Found plugin path_provider_macos at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+3\
[  +21 ms] Found plugin sqflite at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\sqflite-1.3.0+1\
[  +15 ms] Found plugin url_launcher at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-5.4.10\
[   +1 ms] Found plugin url_launcher_macos at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+7\
[   +2 ms] Found plugin url_launcher_web at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-0.1.1+6\
[  +96 ms] Found plugin cloud_firestore at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.13.5\
[   +1 ms] Found plugin cloud_firestore_web at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore_web-0.1.1+2\
[   +7 ms] Found plugin device_info at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\device_info-0.4.2+4\
[   +2 ms] Found plugin e2e at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\e2e-0.4.3+1\
[   +4 ms] Found plugin firebase_core at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.4.4+3\
[   +1 ms] Found plugin firebase_core_web at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.1.1+2\
[   +1 ms] Found plugin firebase_crashlytics at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_crashlytics-0.1.3+3\
[   +5 ms] Found plugin flutter_plugin_android_lifecycle at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.8\
[   +3 ms] Found plugin geolocator at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\geolocator-5.3.1\
[   +1 ms] Found plugin google_api_availability at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\google_api_availability-2.0.4\
[   +3 ms] Found plugin google_maps_flutter at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\google_maps_flutter-0.5.28+1\
[  +17 ms] Found plugin location at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\location-3.0.2\
[   +1 ms] Found plugin location_permissions at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\location_permissions-2.0.5\
[   +1 ms] Found plugin location_web at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\location_web-1.0.0\
[   +9 ms] Found plugin path_provider at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-1.6.9\
[   +1 ms] Found plugin path_provider_macos at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+3\
[  +13 ms] Found plugin sqflite at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\sqflite-1.3.0+1\
[   +9 ms] Found plugin url_launcher at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-5.4.10\
[        ] Found plugin url_launcher_macos at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+7\
[   +1 ms] Found plugin url_launcher_web at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-0.1.1+6\
[  +74 ms] Generating C:\Users\bluse\Documents\snap-mobile\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +38 ms] ro.hardware = mt6768
[        ] ro.build.characteristics = default
[  +69 ms] Launching lib\main.dart on RMX2020 in debug mode...
[   +7 ms] C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\bin\cache\dart-sdk\bin\dart.exe C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names -Ddart.developer.causal_async_stacks=true --output-dill C:\Users\bluse\AppData\Local\Temp\flutter_tool.faab81db-9cae-11ea-a7c7-48d224a903a9\app.dill --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --initialize-from-dill build\cache.dill
[   +9 ms] executing: C:\Users\bluse\AppData\Local\Android\sdk\build-tools\29.0.3\aapt dump xmltree C:\Users\bluse\Documents\snap-mobile\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +15 ms] Exit code 0 from: C:\Users\bluse\AppData\Local\Android\sdk\build-tools\29.0.3\aapt dump xmltree C:\Users\bluse\Documents\snap-mobile\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x2
               A: android:versionName(0x0101021c)="0.4.2" (Raw: "0.4.2")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.semicolon.myherodelivery" (Raw: "com.semicolon.myherodelivery")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=17)
                 A: android:name(0x01010003)="android.permission.ACCESS_FINE_LOCATION" (Raw: "android.permission.ACCESS_FINE_LOCATION")
               E: uses-permission (line=18)
                 A: android:name(0x01010003)="android.permission.ACCESS_COARSE_LOCATION" (Raw: "android.permission.ACCESS_COARSE_LOCATION")
               E: uses-permission (line=19)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: uses-permission (line=20)
                 A: android:name(0x01010003)="android.permission.VIBRATE" (Raw: "android.permission.VIBRATE")
               E: uses-permission (line=23)
                 A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE" (Raw: "android.permission.ACCESS_NETWORK_STATE")
               E: uses-feature (line=25)
                 A: android:glEsVersion(0x01010281)=(type 0x11)0x20000
                 A: android:required(0x0101028e)=(type 0x12)0xffffffff
               E: application (line=29)
                 A: android:label(0x01010001)="MyHero Delivery" (Raw: "MyHero Delivery")
                 A: android:icon(0x01010002)=@0x7f080001
                 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=34)
                   A: android:name(0x01010003)="com.google.android.geo.API_KEY" (Raw: "com.google.android.geo.API_KEY")
                   A: android:value(0x01010024)="AIzaSyAcWU218289x6ExvbwAfOnKCn_BOfPuars" (Raw: "AIzaSyAcWU218289x6ExvbwAfOnKCn_BOfPuars")
                 E: activity (line=38)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.semicolon.myherodelivery.MainActivity" (Raw: "com.semicolon.myherodelivery.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=62)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040015
                   E: intent-filter (line=66)
                     E: action (line=67)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=69)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=76)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: service (line=80)
                   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=84)
                     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=87)
                     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=90)
                     A: android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.firebase.crashlytics.firebasecrashlytics.FlutterFirebaseAppRegistrar" (Raw: "com.google.firebase.components:io.flutter.plugins.firebase.crashlytics.firebasecrashlytics.FlutterFirebaseAppRegistrar")
                     A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
                   E: meta-data (line=93)
                     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: activity (line=98)
                   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: uses-library (line=102)
                   A: android:name(0x01010003)="org.apache.http.legacy" (Raw: "org.apache.http.legacy")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: activity (line=106)
                   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: provider (line=111)
                   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)="com.semicolon.myherodelivery.firebaseinitprovider" (Raw: "com.semicolon.myherodelivery.firebaseinitprovider")
                   A: android:initOrder(0x0101001a)=(type 0x10)0x64
                 E: meta-data (line=117)
                   A: android:name(0x01010003)="com.google.android.gms.version" (Raw: "com.google.android.gms.version")
                   A: android:value(0x01010024)=@0x7f060000
                 E: provider (line=121)
                   A: android:name(0x01010003)="com.crashlytics.android.CrashlyticsInitProvider" (Raw: "com.crashlytics.android.CrashlyticsInitProvider")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:authorities(0x01010018)="com.semicolon.myherodelivery.crashlyticsinitprovider" (Raw: "com.semicolon.myherodelivery.crashlyticsinitprovider")
                   A: android:initOrder(0x0101001a)=(type 0x10)0x5a
[   +9 ms] executing: C:\Users\bluse\AppData\Local\Android\sdk\platform-tools\adb.exe -s JFKB8LSGYSRCNFNF shell -x logcat -v time -t 1
[  +75 ms] Exit code 0 from: C:\Users\bluse\AppData\Local\Android\sdk\platform-tools\adb.exe -s JFKB8LSGYSRCNFNF shell -x logcat -v time -t 1
[        ] --------- beginning of main
           05-23 12:36:34.279 I/ADB_SERVICES(32343): for fd 35, revents = 2011
[   +8 ms] <- compile package:myherodelivery/main.dart
[  +16 ms] executing: C:\Users\bluse\AppData\Local\Android\sdk\platform-tools\adb.exe version
[  +31 ms] Android Debug Bridge version 1.0.41
           Version 30.0.1-6435776
           Installed as C:\Users\bluse\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +4 ms] executing: C:\Users\bluse\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[  +43 ms] Building APK
[  +22 ms] Invalid build-number: dev.2 for Android, overridden by 2.
           See versionCode at https://developer.android.com/studio/publish/versioning
[   +7 ms] gradle.properties already sets `android.enableR8`
[   +5 ms] Using gradle from C:\Users\bluse\Documents\snap-mobile\android\gradlew.bat.
[   +1 ms] C:\Users\bluse\Documents\snap-mobile\android\gradlew.bat mode: 33279 rwxrwxrwx.
[  +11 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +117 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[        ] openjdk version "1.8.0_212-release"
           OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
           OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)
[   +6 ms] executing: [C:\Users\bluse\Documents\snap-mobile\android/] C:\Users\bluse\Documents\snap-mobile\android\gradlew.bat -q -Ptarget-platform=android-arm64 -Ptarget=C:\Users\bluse\Documents\snap-mobile\lib\main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+30057 ms] D8: Cannot fit requested classes in a single dex file (# methods: 97552 > 65536)
[   +2 ms] com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: 
[        ] The number of method references in a .dex file cannot exceed 64K.
[        ] Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html
[        ] 	at com.android.builder.dexing.D8DexArchiveMerger.getExceptionToRethrow(D8DexArchiveMerger.java:131)
[        ] 	at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:118)
[        ] 	at com.android.build.gradle.internal.transforms.DexMergerTransformCallable.call(DexMergerTransformCallable.java:102)
[        ] 	at com.android.build.gradle.internal.tasks.DexMergingTaskRunnable.run(DexMergingTask.kt:444)
[        ] 	at com.android.build.gradle.internal.tasks.Workers$ActionFacade.run(Workers.kt:335)
[        ] 	at org.gradle.workers.internal.AdapterWorkAction.execute(AdapterWorkAction.java:50)
[        ] 	at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:47)
[        ] 	at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1$1.create(NoIsolationWorkerFactory.java:65)
[        ] 	at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1$1.create(NoIsolationWorkerFactory.java:61)
[        ] 	at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:98)
[        ] 	at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.execute(NoIsolationWorkerFactory.java:61)
[        ] 	at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44)
[        ] 	at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
[        ] 	at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
[        ] 	at org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41)
[        ] 	at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:56)
[        ] 	at org.gradle.workers.internal.DefaultWorkerExecutor$3.call(DefaultWorkerExecutor.java:215)
[        ] 	at org.gradle.workers.internal.DefaultWorkerExecutor$3.call(DefaultWorkerExecutor.java:210)
[        ] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[        ] 	at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:215)
[        ] 	at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:164)
[        ] 	at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:131)
[        ] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[        ] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[        ] 	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
[        ] 	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
[        ] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[        ] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[        ] 	at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
[        ] 	at java.lang.Thread.run(Thread.java:748)
[        ] Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete
[        ] 	at com.android.tools.r8.utils.t.a(:55)
[        ] 	at com.android.tools.r8.D8.run(:11)
[        ] 	at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:116)
[        ] 	... 34 more
[        ] Caused by: com.android.tools.r8.utils.AbortException: Error: null, Cannot fit requested classes in a single dex file (# methods: 97552 > 65536)
[        ] 	at com.android.tools.r8.utils.Reporter.a(:21)
[        ] 	at com.android.tools.r8.utils.Reporter.a(:7)
[        ] 	at com.android.tools.r8.dex.VirtualFile.a(:33)
[        ] 	at com.android.tools.r8.dex.VirtualFile$h.a(:5)
[        ] 	at com.android.tools.r8.dex.ApplicationWriter.a(:13)
[        ] 	at com.android.tools.r8.dex.ApplicationWriter.write(:35)
[        ] 	at com.android.tools.r8.D8.d(:44)
[        ] 	at com.android.tools.r8.D8.b(:1)
[        ] 	at com.android.tools.r8.utils.t.a(:23)
[        ] 	... 36 more
[        ] FAILURE: Build failed with an exception.
[        ] * What went wrong:
[        ] Execution failed for task ':app:mergeDexDebug'.
[        ] > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
[        ]    > com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
[        ]      The number of method references in a .dex file cannot exceed 64K.
[        ]      Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html
[        ] * Try:
[        ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[        ] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 29s
[ +421 ms] [!] The shrinker may have failed to optimize the Java bytecode.
[        ]     To disable the shrinker, pass the `--no-shrink` flag to this command.
[        ]     To learn more, see: https://developer.android.com/studio/build/shrink-code
[   +5 ms] Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

Flutter doctor
Run flutter doctor and paste the output below:

$ flutter doctor -v
[√] Flutter (Channel beta, 1.18.0-11.1.pre, on Microsoft Windows [Version 10.0.18363.719], locale en-PH)
    • Flutter version 1.18.0-11.1.pre at C:\Users\bluse\Documents\flutter_sdk\flutter_windows_1.17.1-stable\flutter
    • Framework revision 2738a1148b (9 days ago), 2020-05-13 15:24:36 -0700
    • Engine revision ef9215ceb2
    • Dart version 2.9.0 (build 2.9.0-8.2.beta)

 
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\bluse\AppData\Local\Android\sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code (version 1.45.1)
    • VS Code at C:\Users\bluse\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.10.2

[√] Connected device (3 available)
    • RMX2020    • JFKB8LSGYSRCNFNF • android-arm64  • Android 10 (API 29)
    • Web Server • web-server       • web-javascript • Flutter Tools
    • Chrome     • chrome           • web-javascript • Google Chrome 81.0.4044.138

• No issues found!
@vinceramcesoliveros
Copy link
Author

Closing this, Dup of #2414

@firebase firebase locked and limited conversation to collaborators Jul 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant