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

Failed assertion: line 552 pos 15: 'textDirection != null': is not true #71340

Closed
Rahuldavaskar opened this issue Nov 28, 2020 · 12 comments
Closed

Comments

@Rahuldavaskar
Copy link

after update i am getting this error

@Rahuldavaskar
Copy link
Author

Exception caught by widgets library ═══════════════════════════════════════════════════════
The following assertion was thrown building Overlay(state: OverlayState#1e2d3(entries: [OverlayEntry#6757e(opaque: false; maintainState: false), OverlayEntry#ac90e(opaque: false; maintainState: false)])):
'package:flutter/src/widgets/overlay.dart': Failed assertion: line 552 pos 15: 'textDirection != null': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=BUG.md

The relevant error-causing widget was:
Overlay file:///C:/Users/Rahul Davaskar/Flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_easyloading-1.3.0/lib/src/widgets/loading.dart:38:14
When the exception was thrown, this was the stack:
#2 new _RenderTheatre (package:flutter/src/widgets/overlay.dart:552:15)
#3 _Theatre.createRenderObject (package:flutter/src/widgets/overlay.dart:509:12)
#4 RenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5491:28)
#5 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6232:11)
... Normal element mounting (59 frames)
...

@iapicca
Copy link
Contributor

iapicca commented Nov 28, 2020

@Rahuldavaskar
can you provide your flutter doctor -v, your full flutter run -v
and most importantly a minimal reproducible code sample

@Rahuldavaskar
Copy link
Author

Capture

@Rahuldavaskar
Copy link
Author

P-TO-DATE
[ ] > Task :path_provider:stripDebugDebugSymbols UP-TO-DATE
[ 1 ms] > Task :path_provider:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ 1 ms] > Task :shared_preferences:mergeDebugJniLibFolders UP-TO-DATE
[ 1 ms] > Task :shared_preferences:mergeDebugNativeLibs UP-TO-DATE
[ 1 ms] > Task :shared_preferences:stripDebugDebugSymbols UP-TO-DATE
[ 1 ms] > Task :shared_preferences:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ 1 ms] > Task :sqflite:mergeDebugJniLibFolders UP-TO-DATE
[ ] > Task :sqflite:mergeDebugNativeLibs UP-TO-DATE
[ ] > Task :sqflite:stripDebugDebugSymbols UP-TO-DATE
[ 83 ms] > Task :sqflite:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ 2 ms] > Task :video_player:mergeDebugJniLibFolders UP-TO-DATE
[ ] > Task :video_player:mergeDebugNativeLibs UP-TO-DATE
[ ] > Task :video_player:stripDebugDebugSymbols UP-TO-DATE
[ ] > Task :video_player:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[ ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[ ] Compatible side by side NDK version was not found.
[ 2088 ms] > Task :app:packageDebug
[ 204 ms] > Task :app:assembleDebug
[ 1 ms] > Task :cloud_firestore:extractDebugAnnotations UP-TO-DATE
[ ] > Task :cloud_firestore:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :cloud_firestore:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :cloud_firestore:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :cloud_firestore:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :cloud_firestore:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] > Task :cloud_firestore:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] > Task :cloud_firestore:bundleDebugAar UP-TO-DATE
[ ] > Task :cloud_firestore:compileDebugSources UP-TO-DATE
[ ] > Task :cloud_firestore:assembleDebug UP-TO-DATE
[ ] > Task :firebase_auth:extractDebugAnnotations UP-TO-DATE
[ ] > Task :firebase_auth:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :firebase_auth:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :firebase_auth:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :firebase_auth:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :firebase_auth:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] > Task :firebase_auth:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] > Task :firebase_auth:bundleDebugAar UP-TO-DATE
[ ] > Task :firebase_auth:compileDebugSources UP-TO-DATE
[ ] > Task :firebase_auth:assembleDebug UP-TO-DATE
[ ] > Task :firebase_core:extractDebugAnnotations UP-TO-DATE
[ ] > Task :firebase_core:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :firebase_core:mergeDebugConsumerProguardFiles UP-TO-DATE
[ 2 ms] > Task :firebase_core:prepareLintJarForPublish UP-TO-DATE
[ 1 ms] > Task :firebase_core:mergeDebugJavaResource UP-TO-DATE
[ 1 ms] > Task :firebase_core:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ 75 ms] > Task :firebase_core:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ 2 ms] > Task :firebase_core:bundleDebugAar UP-TO-DATE
[ ] > Task :firebase_core:compileDebugSources UP-TO-DATE
[ ] > Task :firebase_core:assembleDebug UP-TO-DATE
[ ] > Task :firebase_storage:extractDebugAnnotations UP-TO-DATE
[ ] > Task :firebase_storage:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :firebase_storage:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :firebase_storage:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :firebase_storage:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :firebase_storage:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] > Task :firebase_storage:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] > Task :firebase_storage:bundleDebugAar UP-TO-DATE
[ ] > Task :firebase_storage:compileDebugSources UP-TO-DATE
[ ] > Task :firebase_storage:assembleDebug UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:extractDebugAnnotations UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ 2 ms] > Task :flutter_plugin_android_lifecycle:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ 2 ms] > Task :flutter_plugin_android_lifecycle:bundleDebugAar UP-TO-DATE
[ 1 ms] > Task :flutter_plugin_android_lifecycle:compileDebugSources UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:assembleDebug UP-TO-DATE
[ ] > Task :image_picker:extractDebugAnnotations UP-TO-DATE
[ ] > Task :image_picker:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :image_picker:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :image_picker:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :image_picker:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :image_picker:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] > Task :image_picker:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] > Task :image_picker:bundleDebugAar UP-TO-DATE
[ ] > Task :image_picker:compileDebugSources UP-TO-DATE
[ ] > Task :image_picker:assembleDebug UP-TO-DATE
[ 81 ms] > Task :path_provider:extractDebugAnnotations UP-TO-DATE
[ 1 ms] > Task :path_provider:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :path_provider:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :path_provider:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :path_provider:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :path_provider:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] > Task :path_provider:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] > Task :path_provider:bundleDebugAar UP-TO-DATE
[ ] > Task :path_provider:compileDebugSources UP-TO-DATE
[ ] > Task :path_provider:assembleDebug UP-TO-DATE
[ ] > Task :shared_preferences:extractDebugAnnotations UP-TO-DATE
[ ] > Task :shared_preferences:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :shared_preferences:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :shared_preferences:prepareLintJarForPublish UP-TO-DATE
[ 1 ms] > Task :shared_preferences:mergeDebugJavaResource UP-TO-DATE
[ 1 ms] > Task :shared_preferences:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] > Task :shared_preferences:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] > Task :shared_preferences:bundleDebugAar UP-TO-DATE
[ ] > Task :shared_preferences:compileDebugSources UP-TO-DATE
[ ] > Task :shared_preferences:assembleDebug UP-TO-DATE
[ ] > Task :sqflite:extractDebugAnnotations UP-TO-DATE
[ 2 ms] > Task :sqflite:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ 1 ms] > Task :sqflite:mergeDebugConsumerProguardFiles UP-TO-DATE
[ 1 ms] > Task :sqflite:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :sqflite:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :sqflite:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] > Task :sqflite:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] > Task :sqflite:bundleDebugAar UP-TO-DATE
[ ] > Task :sqflite:compileDebugSources UP-TO-DATE
[ ] > Task :sqflite:assembleDebug UP-TO-DATE
[ ] > Task :video_player:extractDebugAnnotations UP-TO-DATE
[ ] > Task :video_player:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :video_player:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :video_player:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :video_player:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :video_player:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] > Task :video_player:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] > Task :video_player:bundleDebugAar UP-TO-DATE
[ ] > Task :video_player:compileDebugSources UP-TO-DATE
[ ] > Task :video_player:assembleDebug UP-TO-DATE
[ 14 ms] BUILD SUCCESSFUL in 30s
[ 1 ms] 313 actionable tasks: 7 executed, 306 up-to-date
[ 532 ms] Running Gradle task 'assembleDebug'... (completed in 31.0s)
[ 88 ms] calculateSha: LocalDirectory: 'C:\Users\Rahul
Davaskar\AndroidStudioProjects\build_no1\build\app\outputs\flutter-apk'/app.apk
[ 19 ms] calculateSha: reading file took 18us
[ 504 ms] calculateSha: computing sha took 503us
[ 12 ms] √ Built build\app\outputs\flutter-apk\app-debug.apk.
[ 5 ms] executing: C:\Users\Rahul Davaskar\AppData\Local\Android\sdk\build-tools\30.0.2\aapt dump xmltree C:\Users\Rahul
Davaskar\AndroidStudioProjects\build_no1\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ 36 ms] Exit code 0 from: C:\Users\Rahul Davaskar\AppData\Local\Android\sdk\build-tools\30.0.2\aapt dump xmltree
C:\Users\Rahul Davaskar\AndroidStudioProjects\build_no1\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ 1 ms] N: android=http://schemas.android.com/apk/res/android
E: manifest (line=2)
A: android:versionCode(0x0101021b)=(type 0x10)0x1
A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
A: package="com.example.buildno1" (Raw: "com.example.buildno1")
A: platformBuildVersionCode=(type 0x10)0x1c
A: platformBuildVersionName=(type 0x10)0x9
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x17
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: uses-permission (line=15)
A: android:name(0x01010003)="android.permission.READ_EXTERNAL_STORAGE" (Raw:
"android.permission.READ_EXTERNAL_STORAGE")
E: uses-permission (line=16)
A: android:name(0x01010003)="android.permission.WRITE_EXTERNAL_STORAGE" (Raw:
"android.permission.WRITE_EXTERNAL_STORAGE")
E: uses-permission (line=18)
A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE" (Raw:
"android.permission.ACCESS_NETWORK_STATE")
E: application (line=26)
A: android:label(0x01010001)="buildno1" (Raw: "buildno1")
A: android:icon(0x01010002)=@0x7f080000
A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:
"androidx.core.app.CoreComponentFactory")
E: activity (line=32)
A: android:theme(0x01010000)=@0x7f0a0000
A: android:name(0x01010003)="com.example.buildno1.MainActivity" (Raw: "com.example.buildno1.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=46)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw:
"io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0a0001
E: meta-data (line=56)
A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw:
"io.flutter.embedding.android.SplashScreenDrawable")
A: android:resource(0x01010025)=@0x7f040015
E: intent-filter (line=60)
E: action (line=61)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=63)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw:
"android.intent.category.LAUNCHER")
E: meta-data (line=70)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
E: service (line=74)
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=78)
A:
android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.firebase.storage.FlutterFire
baseAppRegistrar" (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=81)
A:
android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.firebase.cloudfirestore.Flut
terFirebaseAppRegistrar" (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=84)
A:
android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.firebaseauth.FlutterFirebase
AppRegistrar" (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=87)
A:
android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.firebase.core.FlutterFirebas
eAppRegistrar" (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: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=93)
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=96)
A:
android:name(0x01010003)="com.google.firebase.components:com.google.firebase.firestore.FirestoreRegistra
r" (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: provider (line=101)
A: android:name(0x01010003)="io.flutter.plugins.imagepicker.ImagePickerFileProvider" (Raw:
"io.flutter.plugins.imagepicker.ImagePickerFileProvider")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:authorities(0x01010018)="com.example.buildno1.flutter.image_provider" (Raw:
"com.example.buildno1.flutter.image_provider")
A: android:grantUriPermissions(0x0101001b)=(type 0x12)0xffffffff
E: meta-data (line=106)
A: android:name(0x01010003)="android.support.FILE_PROVIDER_PATHS" (Raw:
"android.support.FILE_PROVIDER_PATHS")
A: android:resource(0x01010025)=@0x7f0c0000
E: activity (line=111)
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: provider (line=119)
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.example.buildno1.firebaseinitprovider" (Raw:
"com.example.buildno1.firebaseinitprovider")
A: android:initOrder(0x0101001a)=(type 0x10)0x64
E: activity (line=125)
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=130)
A: android:name(0x01010003)="com.google.android.gms.version" (Raw: "com.google.android.gms.version")
A: android:value(0x01010024)=@0x7f060000
[ 16 ms] Stopping app 'app.apk' on sdk gphone x86 arm.
[ 1 ms] executing: C:\Users\Rahul Davaskar\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell am
force-stop com.example.buildno1
[ 316 ms] executing: C:\Users\Rahul Davaskar\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell pm list
packages com.example.buildno1
[ 154 ms] package:com.example.buildno1
[ 4 ms] executing: C:\Users\Rahul Davaskar\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell cat
/data/local/tmp/sky.com.example.buildno1.sha1
[ 72 ms] 5c781f598f2059a2d12c410e92902c755c136391
[ 2 ms] Installing APK.
[ 4 ms] executing: C:\Users\Rahul Davaskar\AppData\Local\Android\sdk\platform-tools\adb.exe version
[ 41 ms] Android Debug Bridge version 1.0.41
Version 30.0.5-6877874
Installed as C:\Users\Rahul Davaskar\AppData\Local\Android\sdk\platform-tools\adb.exe
[ 2 ms] executing: C:\Users\Rahul Davaskar\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[ 51 ms] Installing build\app\outputs\flutter-apk\app.apk...
[ 1 ms] executing: C:\Users\Rahul Davaskar\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 install -t -r
C:\Users\Rahul Davaskar\AndroidStudioProjects\build_no1\build\app\outputs\flutter-apk\app.apk
[ 1136 ms] Performing Streamed Install
Success
[ ] Installing build\app\outputs\flutter-apk\app.apk... (completed in 1.1s)
[ 2 ms] executing: C:\Users\Rahul Davaskar\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell echo -n
db87a0b59dab3c8f7331d43ce745676a0e98692a > /data/local/tmp/sky.com.example.buildno1.sha1
[ 42 ms] sdk gphone x86 arm startApp
[ 4 ms] executing: C:\Users\Rahul Davaskar\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell am
start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez
enable-checked-mode true --ez verify-entry-points true com.example.buildno1/com.example.buildno1.MainActivity
[ 104 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.buildno1/.MainActivity (has
extras) }
[ ] Waiting for observatory port to be available...
[ 2072 ms] Observatory URL on device: http://127.0.0.1:40275/twRLxXS1zAE=/
[ 3 ms] executing: C:\Users\Rahul Davaskar\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 forward tcp:0
tcp:40275
[ 42 ms] 51775
[ ] Forwarded host port 51775 to device port 40275 for Observatory
[ 6 ms] Caching compiled dill
[ 61 ms] Connecting to service protocol: http://127.0.0.1:51775/twRLxXS1zAE=/
[ 2 ms] DDS is currently disabled due to #62507
[ 389 ms] Successfully connected to service protocol: http://127.0.0.1:51775/twRLxXS1zAE=/
[ 1 ms] Waiting for sdk gphone x86 arm to report its views...
[ 14 ms] Waiting for sdk gphone x86 arm to report its views... (completed in 12ms)
[ 15 ms] DevFS: Creating new filesystem on the device (null)
[ 4 ms] I/Choreographer(29436): Skipped 39 frames! The application may be doing too much work on its main thread.
[ 80 ms] DevFS: Created new filesystem on the device
(file:///data/user/0/com.example.buildno1/code_cache/build_no1TWTREI/build_no1/)
[ 2 ms] Updating assets
[ 231 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information
see #56466.
[ 18 ms] Syncing files to device sdk gphone x86 arm...
[ 3 ms] Scanning asset files
[ 4 ms] <- reset
[ ] Compiling dart to kernel with 0 updated files
[ 1 ms] <- recompile package:buildno1/main.dart 02dbd808-a87e-4cae-b434-2b67895b9903
[ 1 ms] <- 02dbd808-a87e-4cae-b434-2b67895b9903
[ 248 ms] Updating files
[ 195 ms] DevFS: Sync finished
[ 1 ms] Syncing files to device sdk gphone x86 arm... (completed in 455ms)
[ 1 ms] Synced 2.3MB.
[ ] <- accept
[ 3 ms] Connected to _flutterView/0xe1804fe0.
[ 3 ms] Flutter run key commands.
[ 1 ms] r Hot reload.
[ 1 ms] R Hot restart.
[ ] h Repeat this help message.
[ ] d Detach (terminate "flutter run" but leave application running).
[ ] c Clear the screen
[ ] q Quit (terminate the application on the device).
[ ] An Observatory debugger and profiler on sdk gphone x86 arm is available at: http://127.0.0.1:51775/twRLxXS1zAE=/
[ 320 ms] I/flutter (29436): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY
╞═══════════════════════════════════════════════════════════
[ 2 ms] I/flutter (29436): The following assertion was thrown building Overlay(state: OverlayState#6157a(entries:
[ ] I/flutter (29436): [EasyLoadingOverlayEntry#d7cca(opaque: false; maintainState: false),
[ ] I/flutter (29436): EasyLoadingOverlayEntry#d4ad1(opaque: false; maintainState: false)])):
[ ] I/flutter (29436): 'package:flutter/src/widgets/overlay.dart': Failed assertion: line 552 pos 15: 'textDirection
!=
[ 1 ms] I/flutter (29436): null': is not true.
[ ] I/flutter (29436):
[ ] I/flutter (29436): Either the assertion indicates an error in the framework itself, or we should provide
substantially
[ ] I/flutter (29436): more information in this error message to help you determine and fix the underlying cause.
[ ] I/flutter (29436): In either case, please report this assertion by filing a bug on GitHub:
[ ] I/flutter (29436): https://github.com/flutter/flutter/issues/new?template=BUG.md
[ ] I/flutter (29436):
[ ] I/flutter (29436): The relevant error-causing widget was:
[ ] I/flutter (29436): Overlay
[ ] I/flutter (29436):
file:///C:/Users/Rahul Davaskar/Flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_easyloading-2.2.0/lib/src/widget
s/loading.dart:62:14
[ ] I/flutter (29436):
[ ] I/flutter (29436): When the exception was thrown, this was the stack:
[ ] I/flutter (29436): #2 new _RenderTheatre (package:flutter/src/widgets/overlay.dart:552:15)
[ ] I/flutter (29436): #3 _Theatre.createRenderObject (package:flutter/src/widgets/overlay.dart:509:12)
[ ] I/flutter (29436): #4 RenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5491:28)
[ ] I/flutter (29436): #5 MultiChildRenderObjectElement.mount
(package:flutter/src/widgets/framework.dart:6232:11)
[ ] I/flutter (29436): ... Normal element mounting (59 frames)
[ 1 ms] I/flutter (29436): #64 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
[ 1 ms] I/flutter (29436): #65 Element.updateChild (package:flutter/src/widgets/framework.dart:3327:18)
[ ] I/flutter (29436): #66 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4652:16)
[ ] I/flutter (29436): #67 _InheritedProviderScopeElement.performRebuild
(package:provider/src/inherited_provider.dart:426:11)
[ ] I/flutter (29436): #68 Element.rebuild (package:flutter/src/widgets/framework.dart:4343:5)
[ ] I/flutter (29436): #69 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4606:5)
[ ] I/flutter (29436): #70 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4601:5)
[ ] I/flutter (29436): ... Normal element mounting (7 frames)
[ ] I/flutter (29436): #77 SingleChildWidgetElementMixin.mount (package:nested/nested.dart:223:11)
[ ] I/flutter (29436): ... Normal element mounting (7 frames)
[ ] I/flutter (29436): #84 _NestedHookElement.mount (package:nested/nested.dart:188:11)
[ ] I/flutter (29436): #85 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
[ ] I/flutter (29436): #86 Element.updateChild (package:flutter/src/widgets/framework.dart:3327:18)
[ ] I/flutter (29436): #87 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4652:16)
[ ] I/flutter (29436): #88 _InheritedProviderScopeElement.performRebuild
(package:provider/src/inherited_provider.dart:426:11)
[ ] I/flutter (29436): #89 Element.rebuild (package:flutter/src/widgets/framework.dart:4343:5)
[ ] I/flutter (29436): #90 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4606:5)
[ ] I/flutter (29436): #91 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4601:5)
[ ] I/flutter (29436): ... Normal element mounting (7 frames)
[ 2 ms] I/flutter (29436): #98 SingleChildWidgetElementMixin.mount (package:nested/nested.dart:223:11)
[ ] I/flutter (29436): ... Normal element mounting (7 frames)
[ ] I/flutter (29436): #105 _NestedHookElement.mount (package:nested/nested.dart:188:11)
[ ] I/flutter (29436): ... Normal element mounting (7 frames)
[ ] I/flutter (29436): #112 SingleChildWidgetElementMixin.mount (package:nested/nested.dart:223:11)
[ ] I/flutter (29436): ... Normal element mounting (7 frames)
[ ] I/flutter (29436): #119 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
[ ] I/flutter (29436): #120 Element.updateChild (package:flutter/src/widgets/framework.dart:3327:18)
[ 1 ms] I/flutter (29436): #121 RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1252:16)
[ ] I/flutter (29436): #122 RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:1223:5)
[ ] I/flutter (29436): #123 RenderObjectToWidgetAdapter.attachToRenderTree.
(package:flutter/src/widgets/binding.dart:1165:17)
[ 1 ms] I/flutter (29436): #124 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2683:19)
[ ] I/flutter (29436): #125 RenderObjectToWidgetAdapter.attachToRenderTree
(package:flutter/src/widgets/binding.dart:1164:13)
[ ] I/flutter (29436): #126 WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:974:7)
[ ] I/flutter (29436): #127 WidgetsBinding.scheduleAttachRootWidget.
(package:flutter/src/widgets/binding.dart:955:7)
[ ] I/flutter (29436): (elided 13 frames from class _AssertionError, class _RawReceivePortImpl, class _Timer,
dart:async, and dart:async-patch)
[ ] I/flutter (29436):
[ ] I/flutter (29436):

@Rahuldavaskar
Copy link
Author

image

error comming @line no 47

@Rahuldavaskar
Copy link
Author

import 'package:buildno1/models/CourseBasicDataModel.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_easyloading/flutter_easyloading.dart';
import 'package:provider/provider.dart';

import 'dao/Firebase_auth_services.dart';
import 'models/User.dart';

void main() {
runApp(MyApp());
configLoading();
}

void configLoading() {
EasyLoading.instance
..displayDuration = const Duration(milliseconds: 2000)
..indicatorType = EasyLoadingIndicatorType.fadingCircle
..loadingStyle = EasyLoadingStyle.dark
..indicatorSize = 45.0
..radius = 10.0
..progressColor = Colors.yellow
..backgroundColor = Colors.green
..indicatorColor = Colors.yellow
..textColor = Colors.yellow
..maskColor = Colors.blue.withOpacity(0.5)
..userInteractions = true;
}

class MyApp extends StatelessWidget {
@OverRide
Widget build(BuildContext context) {
// SystemChrome.setEnabledSystemUIOverlays();
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
statusBarColor: Colors.transparent,
statusBarIconBrightness: Brightness.light,
systemNavigationBarColor: Colors.transparent,
systemNavigationBarIconBrightness: Brightness.dark));
return MultiProvider(
providers: [
StreamProvider.value(value: AuthService().user),
ChangeNotifierProvider(
create: (_) => BasicModel(),
),
],
child: FlutterEasyLoading(
child: MaterialApp(
home: Wrapper(),
),
),
);
}
}

@Rahuldavaskar
Copy link
Author

flutter doctor -v
[√] Flutter (Channel stable, 1.22.4, on Microsoft Windows [Version 10.0.19042.630], locale en-TC)
• Flutter version 1.22.4 at C:\Users\Rahul Davaskar\Flutter\flutter
• Framework revision 1aafb3a (2 weeks ago), 2020-11-13 09:59:28 -0800
• Engine revision 2c956a31c0
• Dart version 2.10.4

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Users\Rahul Davaskar\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.

[!] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] Connected device (1 available)
• sdk gphone x86 arm (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)

! Doctor found issues in 1 category.

@Rahuldavaskar
Copy link
Author

@iapicca please provide me solution on this

@iapicca
Copy link
Contributor

iapicca commented Nov 28, 2020

@Rahuldavaskar
the problem might depend from your implementation rather than a bug with flutter,
as mentioned above for the issue to be workable needs to be reproducible
can you provide a minimal reproducible code sample, not a snippet from production code
also said code sample shouldn't include 3rd party plugins and packages in your code I see
flutter_easyloading , provider, firebase etc...

@Rahuldavaskar
Copy link
Author

Rahuldavaskar commented Nov 28, 2020

@iapicca I didn't understood what code you need. and the above code was working fine after updating the flutter am getting this issue
their no reproducible code with me

@iapicca
Copy link
Contributor

iapicca commented Nov 28, 2020

@Rahuldavaskar
the goal is to improve flutter with bug report and feature requests,
the issue you are describing might be the former or just a problem with your code;

if you need help with you application
please follow the indication under I want help writing my application in the new issue choice,
if instead you believe that it's a bug within flutter please provide the information listed above,
the code you provided is not runnable, I do not recommend share production code

@github-actions
Copy link

github-actions bot commented Aug 9, 2021

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 9, 2021
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

2 participants