-
Notifications
You must be signed in to change notification settings - Fork 27.1k
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
App crashed #89529
Comments
i found that before the app craches when it starts if i lock the phone than open it the apps works on the physical device and i can debug without problems |
Hi @Klazyo
Can you please follow the steps without third-party packages Also, you're describing multiple seemingly unrelated issues. Please provide a clear description of the issues Thank you |
hi @TahaTesser C:\Users\Maamoun>flutter create myapp
Recreating project myapp...
Running "flutter pub get" in myapp... 831ms
Wrote 3 files.
All done!
In order to run your application, type:
$ cd myapp
$ flutter run
Your application code is in myapp\lib\main.dart.
logsC:\Users\Maamoun\myapp>flutter run -v
[ 72 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ 494 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ 4 ms] 225a43d941ddd1753765fec3682011e9ddffb11d
[ 1 ms] executing: [C:\flutter/] git tag --points-at 225a43d941ddd1753765fec3682011e9ddffb11d
[ 45 ms] Exit code 0 from: git tag --points-at 225a43d941ddd1753765fec3682011e9ddffb11d
[ 1 ms] 2.5.0-6.0.pre
[ 11 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ 38 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ 1 ms] origin/dev
[ ] executing: [C:\flutter/] git ls-remote --get-url origin
[ 35 ms] Exit code 0 from: git ls-remote --get-url origin
[ 1 ms] https://github.com/flutter/flutter.git
[ 116 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[ 38 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ 1 ms] dev
[ 78 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ 1 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.
[ 4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ 1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ 1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ 63 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[ 45 ms] List of devices attached
ad071603090fc3118a device product:heroltexx model:SM_G930F device:herolte transport_id:1
[ 6 ms] C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s ad071603090fc3118a shell getprop
[ 107 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ 1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ 9 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'WindowsUwpEngineArtifacts' 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.
[ 86 ms] Skipping pub get: version match.
[ 109 ms] Generating C:\Users\Maamoun\myapp\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ 65 ms] ro.hardware = samsungexynos8890
[ 39 ms] Initializing file store
[ 11 ms] Skipping target: gen_localizations
[ 8 ms] Skipping target: gen_dart_plugin_registrant
[ 2 ms] _composite: Starting due to {}
[ 1 ms] _composite: Complete
[ 4 ms] complete
[ 8 ms] Launching lib\main.dart on SM G930F in debug mode...
[ 6 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names
--experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill
C:\Users\Maamoun\AppData\Local\Temp\flutter_tools.a6b7e36e\flutter_tool.98f88a25\app.dill --packages
C:\Users\Maamoun\myapp\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill
build\c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[ 16 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s ad071603090fc3118a shell -x
logcat -v time -t 1
[ 15 ms] <- compile package:myapp/main.dart
[ 177 ms] --------- beginning of main
09-06 14:42:19.093 E/adbd (26260): service_to_fd: shell:logcat -v time -t 1
[ 12 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe version
[ 43 ms] Android Debug Bridge version 1.0.41
Version 31.0.3-7562133
Installed as C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe
[ 3 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[ 27 ms] Building APK
[ 20 ms] Running Gradle task 'assembleDebug'...
[ 8 ms] Using gradle from C:\Users\Maamoun\myapp\android\gradlew.bat.
[ 16 ms] executing: C:\Program Files\Android\Android Studio1\jre\bin\java -version
[ 108 ms] Exit code 0 from: C:\Program Files\Android\Android Studio1\jre\bin\java -version
[ 1 ms] openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment (build 11.0.10 0-b96-7249189)
OpenJDK 64-Bit Server VM (build 11.0.10 0-b96-7249189, mixed mode)
[ 2 ms] executing: [C:\Users\Maamoun\myapp\android/] C:\Users\Maamoun\myapp\android\gradlew.bat -Pverbose=true
-Ptarget-platform=android-arm64 -Ptarget=C:\Users\Maamoun\myapp\lib\main.dart
-Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true
-Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ 1456 ms] Starting a Gradle Daemon (subsequent builds will be faster)
[ 13677 ms] > Task :app:compileFlutterBuildDebug
[ 6 ms] [ 67 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ 1 ms] [ 634 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ 1 ms] [ ] 225a43d941ddd1753765fec3682011e9ddffb11d
[ 1 ms] [ ] executing: [C:\flutter/] git tag --points-at 225a43d941ddd1753765fec3682011e9ddffb11d
[ 1 ms] [ 48 ms] Exit code 0 from: git tag --points-at 225a43d941ddd1753765fec3682011e9ddffb11d
[ ] [ ] 2.5.0-6.0.pre
[ ] [ 11 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ 1 ms] [ 40 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ 1 ms] [ ] origin/dev
[ 2 ms] [ ] executing: [C:\flutter/] git ls-remote --get-url origin
[ 1 ms] [ 33 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] [ ] https://github.com/flutter/flutter.git
[ ] [ 57 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[ ] [ 39 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] [ ] dev
[ 1 ms] [ 61 ms] 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.
[ 1 ms] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] [ 3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ 1 ms] [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' 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.
[ ] [ 1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ 2 ms] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ 2 ms] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ 1 ms] [ 104 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ 1 ms] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ ] [ 3 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.
[ 8 ms] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[ 1 ms] [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[ 1 ms] [ ] 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.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ 1 ms] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ ] [ 40 ms] Initializing file store
[ ] [ 21 ms] Skipping target: gen_localizations
[ 1 ms] [ 14 ms] Skipping target: gen_dart_plugin_registrant
[ ] [ 2 ms] kernel_snapshot: Starting due to {}
[ ] [ 14 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies
-DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation
--no-link-platform --packages C:\Users\Maamoun\myapp\.dart_tool\package_config.json --output-dill
C:\Users\Maamoun\myapp\.dart_tool\flutter_build\31a0d3d864e36638cfeb4fd39729248b\app.dill --depfile
C:\Users\Maamoun\myapp\.dart_tool\flutter_build\31a0d3d864e36638cfeb4fd39729248b\kernel_snapshot.d
package:myapp/main.dart
[ 8833 ms] [ 8953 ms] kernel_snapshot: Complete
[ 503 ms] [ 510 ms] debug_android_application: Starting due to {}
[ 293 ms] [ 352 ms] debug_android_application: Complete
[ 599 ms] [ 554 ms] Persisting file store
[ 4 ms] [ 8 ms] Done persisting file store
[ 2 ms] [ 4 ms] build succeeded.
[ 15 ms] [ 13 ms] "flutter assemble" took 10 619ms.
[ 284 ms] [ 264 ms] ensureAnalyticsSent: 260ms
[ 1 ms] [ 1 ms] Running shutdown hooks
[ ] [ ] Shutdown hooks complete
[ ] [ ] exiting with code 0
[ 185 ms] > Task :app:packLibsflutterBuildDebug
[ 1 ms] > Task :app:preBuild UP-TO-DATE
[ ] > Task :app:preDebugBuild UP-TO-DATE
[ ] > Task :app:compileDebugAidl NO-SOURCE
[ 115 ms] > Task :app:compileDebugRenderscript NO-SOURCE
[ 21 ms] > Task :app:generateDebugBuildConfig
[ 256 ms] > Task :app:checkDebugAarMetadata
[ 1 ms] > Task :app:cleanMergeDebugAssets UP-TO-DATE
[ ] > Task :app:mergeDebugShaders
[ ] > Task :app:compileDebugShaders NO-SOURCE
[ ] > Task :app:generateDebugAssets UP-TO-DATE
[ ] > Task :app:mergeDebugAssets
[ 308 ms] > Task :app:copyFlutterAssetsDebug
[ 10 ms] > Task :app:generateDebugResValues
[ 8 ms] > Task :app:generateDebugResources
[ 938 ms] > Task :app:createDebugCompatibleScreenManifests
[ 122 ms] > Task :app:extractDeepLinksDebug
[ 209 ms] > Task :app:processDebugMainManifest
[ 309 ms] > Task :app:mergeDebugResources
[ 106 ms] > Task :app:processDebugManifest
[ 80 ms] > Task :app:javaPreCompileDebug
[ 2 ms] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[ 102 ms] > Task :app:processDebugManifestForPackage
[ 822 ms] > Task :app:compressDebugAssets
[ 24 ms] > Task :app:processDebugResources
[ 5961 ms] > Task :app:compileDebugKotlin
[ 1392 ms] > Task :app:compileDebugJavaWithJavac
[ 61 ms] > Task :app:compileDebugSources
[ 224 ms] > Task :app:processDebugJavaRes NO-SOURCE
[ 115 ms] > Task :app:checkDebugDuplicateClasses
[ 904 ms] > Task :app:dexBuilderDebug
[ 98 ms] > Task :app:desugarDebugFileDependencies
[ 120 ms] > Task :app:mergeDebugJniLibFolders
[ 9 ms] > Task :app:mergeDebugJavaResource
[ 160 ms] > Task :app:validateSigningDebug
[ 1610 ms] > Task :app:mergeExtDexDebug
[ 1098 ms] > Task :app:mergeDexDebug
[ 489 ms] > Task :app:mergeDebugNativeLibs
[ 102 ms] > Task :app:stripDebugDebugSymbols FAILED
[ 2 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[ 2 ms] Use '--warning-mode all' to show the individual deprecation warnings.
[ 1 ms] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[ 2 ms] FAILURE: Build failed with an exception.
[ 3 ms] * What went wrong:
[ 2 ms] Execution failed for task ':app:stripDebugDebugSymbols'.
[ 1 ms] > NDK at C:\Users\Maamoun\AppData\Local\Android\sdk\ndk-bundle did not have a source.properties file
[ 1 ms] * Try:
[ 1 ms] 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.
[ 3 ms] * Get more help at https://help.gradle.org
[ 3 ms] BUILD FAILED in 41s
[ 1 ms] 30 actionable tasks: 29 executed, 1 up-to-date
[ 677 ms] Running Gradle task 'assembleDebug'... (completed in 42,6s)
[ 4 ms] Exception: Gradle task assembleDebug failed with exit code 1
[ 1 ms] "flutter run" took 43 535ms.
[ 4 ms]
#0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:669:9)
<asynchronous suspension>
#2 FlutterCommand.run.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command.dart:1125:27)
<asynchronous suspension>
#3 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#4 CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#5 FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
<asynchronous suspension>
#6 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#7 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
<asynchronous suspension>
#8 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
<asynchronous suspension>
#9 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#10 main (package:flutter_tools/executable.dart:92:3)
<asynchronous suspension>
[ 256 ms] ensureAnalyticsSent: 254ms
[ 4 ms] Running shutdown hooks
[ 1 ms] Shutdown hooks complete
[ 1 ms] exiting with code 1
C:\Users\Maamoun\myapp>
------------------------------------------------------**on Device**---------------------------------------------
Launching lib\main.dart on SM G930F in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:stripDebugDebugSymbols'.
> NDK at C:\Users\Maamoun\AppData\Local\Android\sdk\ndk-bundle did not have a source.properties file
* 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 21s
Exception: Gradle task assembleDebug failed with exit code 1
---------------------------------------------------*on emulator *---------------------------------------
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:stripDebugDebugSymbols'.
> NDK at C:\Users\Maamoun\AppData\Local\Android\sdk\ndk-bundle did not have a source.properties file
* 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 12s
Exception: Gradle task assembleDebug failed with exit code 1 |
Sorry ignore the first one i deleted the ndk-bundle and did the steps again logsC:\Users\Maamoun\myapp>flutter run -v
[ 72 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ 486 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ 2 ms] 225a43d941ddd1753765fec3682011e9ddffb11d
[ 1 ms] executing: [C:\flutter/] git tag --points-at 225a43d941ddd1753765fec3682011e9ddffb11d
[ 47 ms] Exit code 0 from: git tag --points-at 225a43d941ddd1753765fec3682011e9ddffb11d
[ 1 ms] 2.5.0-6.0.pre
[ 11 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ 41 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ 1 ms] origin/dev
[ ] executing: [C:\flutter/] git ls-remote --get-url origin
[ 34 ms] Exit code 0 from: git ls-remote --get-url origin
[ 1 ms] https://github.com/flutter/flutter.git
[ 119 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[ 39 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ 1 ms] dev
[ 84 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ 1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ 1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ 4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[ 1 ms] 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.
[ 1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ 64 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[ 2132 ms] List of devices attached
ad071603090fc3118a device product:heroltexx model:SM_G930F device:herolte transport_id:2
emulator-5554 device product:sdk_gphone_x86_arm model:AOSP_on_IA_Emulator
device:generic_x86_arm transport_id:1
* daemon not running; starting now at tcp:5037
* daemon started successfully
[ 10 ms] C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s ad071603090fc3118a shell getprop
[ 123 ms] C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell getprop
[ 61 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ 1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ 7 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ 1 ms] Artifact Instance of 'WindowsUwpEngineArtifacts' 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.
[ 77 ms] Multiple devices found:
[ 4 ms] ro.hardware = samsungexynos8890
[ 1 ms] ro.hardware = ranchu
[ 25 ms] SM G930F (mobile) • ad071603090fc3118a • android-arm64 • Android 8.0.0 (API 26)
[ 2 ms] AOSP on IA Emulator (mobile) • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)
[ ] Chrome (web) • chrome • web-javascript • Google Chrome 92.0.4515.159
[ ] Edge (web) • edge • web-javascript • Microsoft Edge 92.0.902.84
[ 2 ms] [1]: SM G930F (ad071603090fc3118a)
[ ] [2]: AOSP on IA Emulator (emulator-5554)
[ ] [3]: Chrome (chrome)
[ ] [4]: Edge (edge)
[ 3 ms] Please choose one (To quit, press "q/Q")
[ ] :
[ 29984 ms] 1
[ 35 ms] Skipping pub get: version match.
[ 139 ms] Generating C:\Users\Maamoun\myapp\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ 89 ms] Initializing file store
[ 11 ms] Skipping target: gen_localizations
[ 7 ms] Skipping target: gen_dart_plugin_registrant
[ 1 ms] Skipping target: _composite
[ 2 ms] complete
[ 6 ms] Launching lib\main.dart on SM G930F in debug mode...
[ 5 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names
--experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill
C:\Users\Maamoun\AppData\Local\Temp\flutter_tools.fdc88ff4\flutter_tool.ac8d8fb4\app.dill --packages
C:\Users\Maamoun\myapp\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill
build\c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[ 11 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree
C:\Users\Maamoun\myapp\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ 16 ms] Exit code 0 from: C:\Users\Maamoun\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree
C:\Users\Maamoun\myapp\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)0x1e
A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
A: package="com.example.myapp" (Raw: "com.example.myapp")
A: platformBuildVersionCode=(type 0x10)0x1e
A: platformBuildVersionName=(type 0x10)0xb
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: application (line=16)
A: android:label(0x01010001)="myapp" (Raw: "myapp")
A: android:icon(0x01010002)=@0x7f080000
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:
"androidx.core.app.CoreComponentFactory")
E: activity (line=21)
A: android:theme(0x01010000)=@0x7f0a0000
A: android:name(0x01010003)="com.example.myapp.MainActivity" (Raw: "com.example.myapp.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=35)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw:
"io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0a0001
E: intent-filter (line=39)
E: action (line=40)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=42)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw:
"android.intent.category.LAUNCHER")
E: meta-data (line=49)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
[ 8 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s ad071603090fc3118a shell -x
logcat -v time -t 1
[ 10 ms] <- compile package:myapp/main.dart
[ 179 ms] --------- beginning of main
09-06 15:31:51.819 E/adbd (26260): service_to_fd: shell:logcat -v time -t 1
[ 10 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe version
[ 41 ms] Android Debug Bridge version 1.0.41
Version 31.0.3-7562133
Installed as C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe
[ 3 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[ 26 ms] Building APK
[ 17 ms] Running Gradle task 'assembleDebug'...
[ 5 ms] Using gradle from C:\Users\Maamoun\myapp\android\gradlew.bat.
[ 13 ms] executing: C:\Program Files\Android\Android Studio1\jre\bin\java -version
[ 117 ms] Exit code 0 from: C:\Program Files\Android\Android Studio1\jre\bin\java -version
[ 1 ms] openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment (build 11.0.10 0-b96-7249189)
OpenJDK 64-Bit Server VM (build 11.0.10 0-b96-7249189, mixed mode)
[ 3 ms] executing: [C:\Users\Maamoun\myapp\android/] C:\Users\Maamoun\myapp\android\gradlew.bat -Pverbose=true
-Ptarget-platform=android-arm64 -Ptarget=C:\Users\Maamoun\myapp\lib\main.dart
-Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true
-Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ 3705 ms] > Task :app:compileFlutterBuildDebug
[ 1 ms] [ 72 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] [ 501 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] [ ] 225a43d941ddd1753765fec3682011e9ddffb11d
[ 1 ms] [ ] executing: [C:\flutter/] git tag --points-at 225a43d941ddd1753765fec3682011e9ddffb11d
[ ] [ 64 ms] Exit code 0 from: git tag --points-at 225a43d941ddd1753765fec3682011e9ddffb11d
[ ] [ ] 2.5.0-6.0.pre
[ ] [ 10 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ 40 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ ] origin/dev
[ 2 ms] [ ] executing: [C:\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
[ ] [ 62 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[ ] [ 47 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] [ ] dev
[ ] [ 67 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ 1 ms] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ 2 ms] [ 4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ 1 ms] [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[ 1 ms] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ 2 ms] [ ] 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.
[ 4 ms] [ 116 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ ] [ 3 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.
[ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[ ] [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ 2 ms] [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[ 1 ms] [ ] 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.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ 2 ms] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ ] [ 39 ms] Initializing file store
[ ] [ 19 ms] Done initializing file store
[ ] [ 64 ms] Skipping target: gen_localizations
[ ] [ 12 ms] Skipping target: gen_dart_plugin_registrant
[ 437 ms] [ 583 ms] Skipping target: kernel_snapshot
[ 400 ms] [ 315 ms] Skipping target: debug_android_application
[ 2 ms] [ ] Persisting file store
[ 11 ms] [ 8 ms] Done persisting file store
[ 20 ms] [ 6 ms] build succeeded.
[ 4 ms] [ 14 ms] "flutter assemble" took 1 208ms.
[ 159 ms] [ 259 ms] ensureAnalyticsSent: 254ms
[ 1 ms] [ 1 ms] Running shutdown hooks
[ ] [ ] Shutdown hooks complete
[ 99 ms] [ ] exiting with code 0
[ 3 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[ ] > Task :app:preBuild UP-TO-DATE
[ ] > Task :app:preDebugBuild UP-TO-DATE
[ ] > Task :app:compileDebugAidl NO-SOURCE
[ 1 ms] > Task :app:compileDebugRenderscript NO-SOURCE
[ ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[ 90 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE
[ 1 ms] > Task :app:cleanMergeDebugAssets
[ 1 ms] > Task :app:mergeDebugShaders UP-TO-DATE
[ ] > Task :app:compileDebugShaders NO-SOURCE
[ 1 ms] > Task :app:generateDebugAssets UP-TO-DATE
[ ] > Task :app:mergeDebugAssets
[ 294 ms] > Task :app:copyFlutterAssetsDebug
[ 1 ms] > Task :app:generateDebugResValues UP-TO-DATE
[ ] > Task :app:generateDebugResources UP-TO-DATE
[ 2 ms] > Task :app:mergeDebugResources UP-TO-DATE
[ 115 ms] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ 190 ms] > Task :app:extractDeepLinksDebug UP-TO-DATE
[ 183 ms] > Task :app:processDebugMainManifest UP-TO-DATE
[ 84 ms] > Task :app:processDebugManifest UP-TO-DATE
[ 13 ms] > Task :app:processDebugManifestForPackage UP-TO-DATE
[ 10 ms] > Task :app:processDebugResources UP-TO-DATE
[ 4 ms] > Task :app:compileDebugKotlin UP-TO-DATE
[ 1 ms] > Task :app:javaPreCompileDebug UP-TO-DATE
[ 11 ms] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[ 2 ms] > Task :app:compileDebugSources UP-TO-DATE
[ 1 ms] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[ ] > Task :app:compressDebugAssets UP-TO-DATE
[ 2 ms] > Task :app:processDebugJavaRes NO-SOURCE
[ ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[ 1 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[ 1 ms] > Task :app:dexBuilderDebug UP-TO-DATE
[ ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[ ] > Task :app:mergeExtDexDebug UP-TO-DATE
[ 1 ms] > Task :app:mergeDexDebug UP-TO-DATE
[ 3 ms] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[ 1 ms] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[ ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[ 1 ms] > Task :app:validateSigningDebug UP-TO-DATE
[ ] > Task :app:packageDebug UP-TO-DATE
[ 3 ms] > Task :app:assembleDebug
[ 1 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[ 2 ms] Use '--warning-mode all' to show the individual deprecation warnings.
[ 1 ms] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[ 4 ms] BUILD SUCCESSFUL in 5s
[ 1 ms] 32 actionable tasks: 5 executed, 27 up-to-date
[ 326 ms] Running Gradle task 'assembleDebug'... (completed in 6,4s)
[ 54 ms] calculateSha: LocalDirectory: 'C:\Users\Maamoun\myapp\build\app\outputs\flutter-apk'/app.apk
[ 686 ms] √ Built build\app\outputs\flutter-apk\app-debug.apk.
[ 6 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree
C:\Users\Maamoun\myapp\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ 17 ms] Exit code 0 from: C:\Users\Maamoun\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree
C:\Users\Maamoun\myapp\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)0x1e
A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
A: package="com.example.myapp" (Raw: "com.example.myapp")
A: platformBuildVersionCode=(type 0x10)0x1e
A: platformBuildVersionName=(type 0x10)0xb
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: application (line=16)
A: android:label(0x01010001)="myapp" (Raw: "myapp")
A: android:icon(0x01010002)=@0x7f080000
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:
"androidx.core.app.CoreComponentFactory")
E: activity (line=21)
A: android:theme(0x01010000)=@0x7f0a0000
A: android:name(0x01010003)="com.example.myapp.MainActivity" (Raw: "com.example.myapp.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=35)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw:
"io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0a0001
E: intent-filter (line=39)
E: action (line=40)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=42)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw:
"android.intent.category.LAUNCHER")
E: meta-data (line=49)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
[ 2 ms] Stopping app 'app.apk' on SM G930F.
[ 1 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s ad071603090fc3118a shell am
force-stop com.example.myapp
[ 141 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s ad071603090fc3118a shell pm
list packages com.example.myapp
[ 1037 ms] package:com.example.myapp
[ 3 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s ad071603090fc3118a shell cat
/data/local/tmp/sky.com.example.myapp.sha1
[ 66 ms] 1fe392426daf61a36352ae046d7930b42e1f9a5b
[ 2 ms] Latest build already installed.
[ 1 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s ad071603090fc3118a shell -x
logcat -v time -t 1
[ 166 ms] --------- beginning of main
09-06 15:32:00.550 E/adbd (26260): service_to_fd: shell:logcat -v time -t 1
[ 6 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s ad071603090fc3118a 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.myapp/com.example.myapp.MainActivity
[ 250 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.myapp/.MainActivity (has
extras) }
[ 1 ms] Waiting for observatory port to be available...
[ 629 ms] Observatory URL on device: http://127.0.0.1:58616/netm1PSO9jA=/
[ 7 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s ad071603090fc3118a forward
tcp:0 tcp:58616
[ 51 ms] 1908
[ 1 ms] Forwarded host port 1908 to device port 58616 for Observatory
[ 4 ms] Caching compiled dill
[ 25 ms] Connecting to service protocol: http://127.0.0.1:1908/netm1PSO9jA=/
[ 529 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at
http://127.0.0.1:1908/netm1PSO9jA=/.
[ 305 ms] DDS is listening at http://127.0.0.1:1911/t5OmcI95l2U=/.
[ 97 ms] Successfully connected to service protocol: http://127.0.0.1:1908/netm1PSO9jA=/
[ 94 ms] DevFS: Creating new filesystem on the device (null)
[ 79 ms] DevFS: Created new filesystem on the device
(file:///data/user/0/com.example.myapp/code_cache/myappCKKVMW/myapp/)
[ 8 ms] Updating assets
[ 105 ms] Syncing files to device SM G930F...
[ 2 ms] <- reset
[ ] Compiling dart to kernel with 0 updated files
[ 2 ms] <- recompile package:myapp/main.dart 5c52dc18-0df9-4601-a93a-f9fd3346f3ef
[ ] <- 5c52dc18-0df9-4601-a93a-f9fd3346f3ef
[ 1 ms] I/zygote64(25211): Do partial code cache collection, code=27KB, data=28KB
[ 1 ms] I/zygote64(25211): After code cache collection, code=27KB, data=28KB
[ ] I/zygote64(25211): Increasing code cache capacity to 128KB
[ ] I/zygote64(25211): Compiler allocated 8MB to compile void android.view.ViewRootImpl.performTraversals()
[ 129 ms] Updating files.
[ 1 ms] DevFS: Sync finished
[ 1 ms] Syncing files to device SM G930F... (completed in 142ms)
[ 1 ms] Synced 0.0MB.
[ 2 ms] <- accept
[ 5 ms] Connected to _flutterView/0x7f9e65a620.
[ 2 ms] Flutter run key commands.
[ 1 ms] r Hot reload.
[ 1 ms] R Hot restart.
[ 1 ms] h List all available interactive commands.
[ ] d Detach (terminate "flutter run" but leave application running).
[ ] c Clear the screen
[ ] q Quit (terminate the application on the device).
[ ] Running with sound null safety
[ 1 ms] An Observatory debugger and profiler on SM G930F is available at: http://127.0.0.1:1911/t5OmcI95l2U=/
[ 131 ms] DevTools activation throttled until 2021-09-06 21:10:28.461805.
[ 318 ms] I/zygote64(25211): Do partial code cache collection, code=59KB, data=57KB
[ 1 ms] I/zygote64(25211): After code cache collection, code=59KB, data=57KB
[ ] I/zygote64(25211): Increasing code cache capacity to 256KB
[ 1528 ms] E/flutter (25211): [ERROR:flutter/fml/platform/android/jni_util.cc(182)] java.lang.SecurityException:
Permission Denial: broadcast from android asks to run as user -1 but is calling from user 0; this requires
android.permission.INTERACT_ACROSS_USERS_FULL or android.permission.INTERACT_ACROSS_USERS
[ 4 ms] E/flutter (25211): at android.os.Parcel.readException(Parcel.java:1967)
[ 1 ms] E/flutter (25211): at android.os.Parcel.readException(Parcel.java:1913)
[ 1 ms] E/flutter (25211): at
android.app.IActivityManager$Stub$Proxy.reportActivityFullyDrawn(IActivityManager.java:8587)
[ 2 ms] E/flutter (25211): at android.app.Activity.reportFullyDrawn(Activity.java:2015)
[ 3 ms] E/flutter (25211): at
io.flutter.embedding.android.FlutterActivity.onFlutterUiDisplayed(FlutterActivity.java:1061)
[ 2 ms] E/flutter (25211): at
io.flutter.embedding.android.FlutterActivityAndFragmentDelegate$1.onFlutterUiDisplayed(FlutterActivityAndFragmentDelegat
e.java:88)
[ 2 ms] E/flutter (25211): at io.flutter.embedding.android.FlutterView$2.onFlutterUiDisplayed(FlutterView.java:133)
[ 2 ms] E/flutter (25211): at io.flutter.embedding.engine.FlutterJNI.onFirstFrame(FlutterJNI.java:461)
[ 4 ms] E/flutter (25211): at android.os.MessageQueue.nativePollOnce(Native Method)
[ 2 ms] E/flutter (25211): at android.os.MessageQueue.next(MessageQueue.java:325)
[ 2 ms] E/flutter (25211): at android.os.Looper.loop(Looper.java:142)
[ 1 ms] E/flutter (25211): at android.app.ActivityThread.main(ActivityThread.java:6944)
[ 4 ms] E/flutter (25211): at java.lang.reflect.Method.invoke(Native Method)
[ 1 ms] E/flutter (25211): at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
[ 1 ms] E/flutter (25211): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
[ 2 ms] E/flutter (25211):
[ 4 ms] F/flutter (25211): [FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1201)] Check
failed: fml::jni::CheckException(env).
[ 2 ms] F/libc (25211): Fatal signal 6 (SIGABRT), code -6 in tid 25211 (m.example.myapp)
[ 6 ms] The Flutter DevTools debugger and profiler on SM G930F is available at:
http://127.0.0.1:9107?uri=http://127.0.0.1:1911/t5OmcI95l2U=/
[ 38 ms] *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
[ 2 ms] Build fingerprint: 'samsung/heroltexx/herolte:8.0.0/R16NW/G930FXXS8ETCA:user/release-keys'
[ 1 ms] Revision: '8'
[ 1 ms] ABI: 'arm64'
[ 1 ms] pid: 25211, tid: 25211, name: m.example.myapp >>> com.example.myapp <<<
[ 1 ms] signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
[ 1 ms] Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1201)] Check failed:
fml::jni::CheckException(env).
[ 3 ms] '
[ 1 ms] x0 0000000000000000 x1 000000000000627b x2 0000000000000006 x3 0000000000000008
[ 1 ms] x4 0000800000000000 x5 0000800000000000 x6 0000800000000000 x7 0000000000800000
[ 1 ms] x8 0000000000000083 x9 bac918b43fc58c49 x10 0000000000000000 x11 0000000000000001
[ 1 ms] x12 ffffffffffffffff x13 0000000000000028 x14 ffffffffffffffff x15 0000ce9fe224e7b6
[ 1 ms] x16 0000007fb20f42f8 x17 0000007fb2095408 x18 0000000012f03648 x19 000000000000627b
[ 3 ms] x20 000000000000627b x21 0000007ff70d7848 x22 0000007f8ddef3b0 x23 0000007f8ddef398
[ 1 ms] x24 0000000000000038 x25 0000007ff70d7ab8 x26 0000000000000000 x27 0000000000000001
[ 1 ms] x28 0000000000000038 x29 0000007ff70d7820 x30 0000007fb2047bd4
[ 1 ms] sp 0000007ff70d77e0 pc 0000007fb2095410 pstate 0000000060000000
[ 1 ms] backtrace:
[ 1 ms] #00 pc 000000000006b410 /system/lib64/libc.so (tgkill 8)
[ 1 ms] #01 pc 000000000001dbd0 /system/lib64/libc.so (abort 88)
[ 2 ms] #02 pc 000000000000205c /data/app/com.example.myapp-T9dpPWpIYVQr5gjkNPicBg==/lib/arm64/libflutter.so
(offset 0x1453000)
[ 961 ms] Service protocol connection closed.
[ 3 ms] Lost connection to device.
[ 5 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s ad071603090fc3118a forward
--list
[ 28 ms] Exit code 0 from: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s ad071603090fc3118a
forward --list
[ 1 ms] ad071603090fc3118a tcp:1908 tcp:58616
[ 1 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s ad071603090fc3118a forward
--remove tcp:1908
[ 24 ms] DevFS: Deleting filesystem on the device
(file:///data/user/0/com.example.myapp/code_cache/myappCKKVMW/myapp/)
[ 257 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed
[ 13 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s ad071603090fc3118a forward
--list
[ 52 ms] Exit code 0 from: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s ad071603090fc3118a
forward --list
[ 4 ms] "flutter run" took 47 635ms.
[ 90 ms] ensureAnalyticsSent: 86ms
[ 4 ms] Running shutdown hooks
[ 1 ms] Shutdown hooks complete
[ 1 ms] exiting with code 0 --------------------on emulator--------------------- logs C:\Users\Maamoun\myapp>flutter run -v
[ 72 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ 483 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ 1 ms] 225a43d941ddd1753765fec3682011e9ddffb11d
[ ] executing: [C:\flutter/] git tag --points-at 225a43d941ddd1753765fec3682011e9ddffb11d
[ 48 ms] Exit code 0 from: git tag --points-at 225a43d941ddd1753765fec3682011e9ddffb11d
[ ] 2.5.0-6.0.pre
[ 10 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ 39 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/dev
[ ] executing: [C:\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
[ 113 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[ 38 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] dev
[ 78 ms] 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.
[ 4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'WindowsUwpEngineArtifacts' 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.
[ 66 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[ 49 ms] List of devices attached
ad071603090fc3118a device product:heroltexx model:SM_G930F device:herolte transport_id:2
emulator-5554 device product:sdk_gphone_x86_arm model:AOSP_on_IA_Emulator device:generic_x86_arm
transport_id:1
[ 9 ms] C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s ad071603090fc3118a shell getprop
[ 89 ms] C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell getprop
[ 41 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ 1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ 4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'WindowsUwpEngineArtifacts' 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.
[ 79 ms] Multiple devices found:
[ 4 ms] ro.hardware = samsungexynos8890
[ 1 ms] ro.hardware = ranchu
[ 24 ms] SM G930F (mobile) • ad071603090fc3118a • android-arm64 • Android 8.0.0 (API 26)
[ 2 ms] AOSP on IA Emulator (mobile) • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)
[ ] Chrome (web) • chrome • web-javascript • Google Chrome 92.0.4515.159
[ ] Edge (web) • edge • web-javascript • Microsoft Edge 92.0.902.84
[ 2 ms] [1]: SM G930F (ad071603090fc3118a)
[ ] [2]: AOSP on IA Emulator (emulator-5554)
[ ] [3]: Chrome (chrome)
[ ] [4]: Edge (edge)
[ 2 ms] Please choose one (To quit, press "q/Q")
[ 1 ms] :
[ 3382 ms] 2
[ 16 ms] Skipping pub get: version match.
[ 115 ms] Generating C:\Users\Maamoun\myapp\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ 66 ms] Using hardware rendering with device AOSP on IA Emulator. If you notice graphics artifacts, consider enabling
software
rendering with "--enable-software-rendering".
[ 28 ms] Initializing file store
[ 12 ms] Skipping target: gen_localizations
[ 7 ms] Skipping target: gen_dart_plugin_registrant
[ 2 ms] Skipping target: _composite
[ 2 ms] complete
[ 6 ms] Launching lib\main.dart on AOSP on IA Emulator in debug mode...
[ 6 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names
--experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill
C:\Users\Maamoun\AppData\Local\Temp\flutter_tools.5480c694\flutter_tool.1a0b0c7b\app.dill --packages
C:\Users\Maamoun\myapp\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill
build\c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[ 11 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree
C:\Users\Maamoun\myapp\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ 13 ms] Exit code 0 from: C:\Users\Maamoun\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree
C:\Users\Maamoun\myapp\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)0x1e
A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
A: package="com.example.myapp" (Raw: "com.example.myapp")
A: platformBuildVersionCode=(type 0x10)0x1e
A: platformBuildVersionName=(type 0x10)0xb
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: application (line=16)
A: android:label(0x01010001)="myapp" (Raw: "myapp")
A: android:icon(0x01010002)=@0x7f080000
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:
"androidx.core.app.CoreComponentFactory")
E: activity (line=21)
A: android:theme(0x01010000)=@0x7f0a0000
A: android:name(0x01010003)="com.example.myapp.MainActivity" (Raw: "com.example.myapp.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=35)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw:
"io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0a0001
E: intent-filter (line=39)
E: action (line=40)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=42)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw:
"android.intent.category.LAUNCHER")
E: meta-data (line=49)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
[ 8 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat
-v time -t 1
[ 19 ms] <- compile package:myapp/main.dart
[ 81 ms] --------- beginning of main
09-06 14:36:49.084 I/GnssLocationProvider( 1929): WakeLock released by handleMessage(REPORT_SV_STATUS, 0,
com.android.server.location.GnssLocationProvider$SvStatusInfo@58e3b21)
[ 11 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe version
[ 30 ms] Android Debug Bridge version 1.0.41
Version 31.0.3-7562133
Installed as C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe
[ 3 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[ 23 ms] Building APK
[ 22 ms] Running Gradle task 'assembleDebug'...
[ 6 ms] Using gradle from C:\Users\Maamoun\myapp\android\gradlew.bat.
[ 16 ms] executing: C:\Program Files\Android\Android Studio1\jre\bin\java -version
[ 115 ms] Exit code 0 from: C:\Program Files\Android\Android Studio1\jre\bin\java -version
[ 1 ms] openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment (build 11.0.10 0-b96-7249189)
OpenJDK 64-Bit Server VM (build 11.0.10 0-b96-7249189, mixed mode)
[ 2 ms] executing: [C:\Users\Maamoun\myapp\android/] C:\Users\Maamoun\myapp\android\gradlew.bat -Pverbose=true
-Ptarget-platform=android-x86 -Ptarget=C:\Users\Maamoun\myapp\lib\main.dart
-Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true
-Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ 3758 ms] > Task :app:compileFlutterBuildDebug
[ 1 ms] [ 85 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] [ 500 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] [ ] 225a43d941ddd1753765fec3682011e9ddffb11d
[ ] [ ] executing: [C:\flutter/] git tag --points-at 225a43d941ddd1753765fec3682011e9ddffb11d
[ ] [ 46 ms] Exit code 0 from: git tag --points-at 225a43d941ddd1753765fec3682011e9ddffb11d
[ ] [ ] 2.5.0-6.0.pre
[ ] [ 9 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ 1 ms] [ 39 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ 1 ms] [ ] origin/dev
[ ] [ ] executing: [C:\flutter/] git ls-remote --get-url origin
[ 1 ms] [ 33 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] [ ] https://github.com/flutter/flutter.git
[ ] [ 60 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[ ] [ 40 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] [ ] dev
[ ] [ 57 ms] 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.
[ 1 ms] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] [ 3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ 2 ms] [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' 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.
[ 1 ms] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ ] [ 101 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ ] [ 3 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ 1 ms] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ 1 ms] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[ ] [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' 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.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ 1 ms] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ ] [ 36 ms] Initializing file store
[ ] [ 14 ms] Done initializing file store
[ ] [ 40 ms] Skipping target: gen_localizations
[ ] [ 11 ms] Skipping target: gen_dart_plugin_registrant
[ 348 ms] [ 557 ms] Skipping target: kernel_snapshot
[ 301 ms] [ 302 ms] Skipping target: debug_android_application
[ 3 ms] [ ] Persisting file store
[ 1 ms] [ 8 ms] Done persisting file store
[ 1 ms] [ 4 ms] build succeeded.
[ 9 ms] [ 14 ms] "flutter assemble" took 1 116ms.
[ 282 ms] [ 307 ms] ensureAnalyticsSent: 303ms
[ 1 ms] [ 1 ms] Running shutdown hooks
[ ] [ ] Shutdown hooks complete
[ ] [ 5 ms] exiting with code 0
[ 103 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[ 3 ms] > Task :app:preBuild UP-TO-DATE
[ 1 ms] > Task :app:preDebugBuild UP-TO-DATE
[ 2 ms] > Task :app:compileDebugAidl NO-SOURCE
[ 2 ms] > Task :app:compileDebugRenderscript NO-SOURCE
[ 1 ms] > Task :app:generateDebugBuildConfig UP-TO-DATE
[ 1 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE
[ 1 ms] > Task :app:cleanMergeDebugAssets
[ ] > Task :app:mergeDebugShaders UP-TO-DATE
[ 79 ms] > Task :app:compileDebugShaders NO-SOURCE
[ 1 ms] > Task :app:generateDebugAssets UP-TO-DATE
[ ] > Task :app:mergeDebugAssets
[ 304 ms] > Task :app:copyFlutterAssetsDebug
[ 8 ms] > Task :app:generateDebugResValues UP-TO-DATE
[ ] > Task :app:generateDebugResources UP-TO-DATE
[ 5 ms] > Task :app:mergeDebugResources UP-TO-DATE
[ 4 ms] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ 1 ms] > Task :app:extractDeepLinksDebug UP-TO-DATE
[ ] > Task :app:processDebugMainManifest UP-TO-DATE
[ ] > Task :app:processDebugManifest UP-TO-DATE
[ ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[ ] > Task :app:processDebugResources UP-TO-DATE
[ 187 ms] > Task :app:compileDebugKotlin
[ 32 ms] > Task :app:javaPreCompileDebug UP-TO-DATE
[ 5 ms] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[ 11 ms] > Task :app:compileDebugSources UP-TO-DATE
[ 7 ms] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[ 2 ms] > Task :app:compressDebugAssets UP-TO-DATE
[ 1 ms] > Task :app:processDebugJavaRes NO-SOURCE
[ 323 ms] > Task :app:checkDebugDuplicateClasses
[ 197 ms] > Task :app:mergeDebugJavaResource
[ 358 ms] > Task :app:dexBuilderDebug
[ 7 ms] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[ ] > Task :app:desugarDebugFileDependencies
[ 32 ms] > Task :app:mergeExtDexDebug UP-TO-DATE
[ 1 ms] > Task :app:mergeDexDebug UP-TO-DATE
[ 1 ms] > Task :app:validateSigningDebug UP-TO-DATE
[ 245 ms] > Task :app:mergeDebugNativeLibs
[ 16 ms] > Task :app:stripDebugDebugSymbols
[ 934 ms] > Task :app:packageDebug
[ 181 ms] > Task :app:assembleDebug
[ 1 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[ 1 ms] Use '--warning-mode all' to show the individual deprecation warnings.
[ 1 ms] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[ ] BUILD SUCCESSFUL in 7s
[ ] 32 actionable tasks: 13 executed, 19 up-to-date
[ 391 ms] Running Gradle task 'assembleDebug'... (completed in 8,4s)
[ 42 ms] calculateSha: LocalDirectory: 'C:\Users\Maamoun\myapp\build\app\outputs\flutter-apk'/app.apk
[ 484 ms] √ Built build\app\outputs\flutter-apk\app-debug.apk.
[ 5 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree
C:\Users\Maamoun\myapp\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ 17 ms] Exit code 0 from: C:\Users\Maamoun\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree
C:\Users\Maamoun\myapp\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)0x1e
A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
A: package="com.example.myapp" (Raw: "com.example.myapp")
A: platformBuildVersionCode=(type 0x10)0x1e
A: platformBuildVersionName=(type 0x10)0xb
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: application (line=16)
A: android:label(0x01010001)="myapp" (Raw: "myapp")
A: android:icon(0x01010002)=@0x7f080000
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:
"androidx.core.app.CoreComponentFactory")
E: activity (line=21)
A: android:theme(0x01010000)=@0x7f0a0000
A: android:name(0x01010003)="com.example.myapp.MainActivity" (Raw: "com.example.myapp.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=35)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw:
"io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0a0001
E: intent-filter (line=39)
E: action (line=40)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=42)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw:
"android.intent.category.LAUNCHER")
E: meta-data (line=49)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
[ 2 ms] Stopping app 'app.apk' on AOSP on IA Emulator.
[ 1 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell am
force-stop com.example.myapp
[ 55 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell pm list
packages com.example.myapp
[ 43 ms] Installing APK.
[ 2 ms] Installing build\app\outputs\flutter-apk\app.apk...
[ ] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 install -t -r
C:\Users\Maamoun\myapp\build\app\outputs\flutter-apk\app.apk
[ 1319 ms] Performing Streamed Install
Success
[ 2 ms] Installing build\app\outputs\flutter-apk\app.apk... (completed in 1 320ms)
[ 2 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell echo -n
eb00f2f09bcb2220a502f447399149bcccebc2bb > /data/local/tmp/sky.com.example.myapp.sha1
[ 63 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat
-v time -t 1
[ 157 ms] --------- beginning of main
09-06 14:36:59.782 D/CarrierConfigLoader( 2181): mHandler: 9 phoneId: 0
[ 6 ms] executing: C:\Users\Maamoun\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.myapp/com.example.myapp.MainActivity
[ 186 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.myapp/.MainActivity (has
extras) }
[ 1 ms] Waiting for observatory port to be available...
[ 1800 ms] Observatory URL on device: http://127.0.0.1:44230/8xV3ImmoMtQ=/
[ 3 ms] executing: C:\Users\Maamoun\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 forward tcp:0
tcp:44230
[ 32 ms] 6246
[ 1 ms] Forwarded host port 6246 to device port 44230 for Observatory
[ 5 ms] Caching compiled dill
[ 41 ms] Connecting to service protocol: http://127.0.0.1:6246/8xV3ImmoMtQ=/
[ 367 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at
http://127.0.0.1:6246/8xV3ImmoMtQ=/.
[ 119 ms] DDS is listening at http://127.0.0.1:6249/cMS62kB-Uf4=/.
[ 63 ms] Successfully connected to service protocol: http://127.0.0.1:6246/8xV3ImmoMtQ=/
[ 46 ms] DevFS: Creating new filesystem on the device (null)
[ 34 ms] DevFS: Created new filesystem on the device
(file:///data/user/0/com.example.myapp/code_cache/myappJGLSQD/myapp/)
[ 5 ms] Updating assets
[ 88 ms] Syncing files to device AOSP on IA Emulator...
[ 2 ms] <- reset
[ ] Compiling dart to kernel with 0 updated files
[ 3 ms] <- recompile package:myapp/main.dart 999907fa-70fc-4558-a93e-3afae55c5f28
[ ] <- 999907fa-70fc-4558-a93e-3afae55c5f28
[ 122 ms] Updating files.
[ 1 ms] DevFS: Sync finished
[ 1 ms] Syncing files to device AOSP on IA Emulator... (completed in 131ms)
[ 1 ms] Synced 0.0MB.
[ 1 ms] <- accept
[ 5 ms] Connected to _flutterView/0xe04a1c10.
[ 2 ms] Flutter run key commands.
[ 1 ms] r Hot reload.
[ ] R Hot restart.
[ ] h List all available interactive commands.
[ ] d Detach (terminate "flutter run" but leave application running).
[ 1 ms] c Clear the screen
[ 1 ms] q Quit (terminate the application on the device).
[ ] Running with sound null safety
[ 1 ms] An Observatory debugger and profiler on AOSP on IA Emulator is available at:
http://127.0.0.1:6249/cMS62kB-Uf4=/
[ 279 ms] DevTools activation throttled until 2021-09-06 21:10:28.461805.
[ 543 ms] The Flutter DevTools debugger and profiler on AOSP on IA Emulator is available at:
http://127.0.0.1:9108?uri=http://127.0.0.1:6249/cMS62kB-Uf4=/
[ 166 ms] D/EGL_emulation( 5870): eglMakeCurrent: 0xdec8e800: ver 2 0 (tinfo 0xcda9f350) |
Same problem for me! |
@ande4485 You are welcome |
Hi @Klazyo Do you see the app screen on your device? |
Hi @TahaTesser in the device i get the white screen then the name of the app crashed with the X to close . |
This is a known issue, so far reproducing on Samsung devices, your device is samsung [ 1528 ms] E/flutter (25211): [ERROR:flutter/fml/platform/android/jni_util.cc(182)] java.lang.SecurityException:
Permission Denial: broadcast from android asks to run as user -1 but is calling from user 0; this requires
android.permission.INTERACT_ACROSS_USERS_FULL or android.permission.INTERACT_ACROSS_USERS
[ 4 ms] E/flutter (25211): at android.os.Parcel.readException(Parcel.java:1967)
[ 1 ms] E/flutter (25211): at android.os.Parcel.readException(Parcel.java:1913)
[ 1 ms] E/flutter (25211): at
android.app.IActivityManager$Stub$Proxy.reportActivityFullyDrawn(IActivityManager.java:8587)
[ 2 ms] E/flutter (25211): at android.app.Activity.reportFullyDrawn(Activity.java:2015)
[ 3 ms] E/flutter (25211): at
io.flutter.embedding.android.FlutterActivity.onFlutterUiDisplayed(FlutterActivity.java:1061)
[ 2 ms] E/flutter (25211): at
io.flutter.embedding.android.FlutterActivityAndFragmentDelegate$1.onFlutterUiDisplayed(FlutterActivityAndFragmentDelegat
e.java:88)
[ 2 ms] E/flutter (25211): at io.flutter.embedding.android.FlutterView$2.onFlutterUiDisplayed(FlutterView.java:133)
[ 2 ms] E/flutter (25211): at io.flutter.embedding.engine.FlutterJNI.onFirstFrame(FlutterJNI.java:461)
[ 4 ms] E/flutter (25211): at android.os.MessageQueue.nativePollOnce(Native Method)
[ 2 ms] E/flutter (25211): at android.os.MessageQueue.next(MessageQueue.java:325)
[ 2 ms] E/flutter (25211): at android.os.Looper.loop(Looper.java:142)
[ 1 ms] E/flutter (25211): at android.app.ActivityThread.main(ActivityThread.java:6944)
[ 4 ms] E/flutter (25211): at java.lang.reflect.Method.invoke(Native Method)
[ 1 ms] E/flutter (25211): at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
[ 1 ms] E/flutter (25211): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
[ 2 ms] E/flutter (25211): Duplicate of #88767 |
@TahaTesser Yes i have a galaxy s7 |
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 |
i remember i start having this pb after introducing google ads on my app but even if i start a new project i get the same error with differenet lines
Expected results:
fast on virtual device and works on physical device
Actual results: // this result is from the app i am build on a samsung S7 sm g930f
it takes time after the two first lines to
logs
-->
i should also mention that something weird happend that after the run 'main' finished and crached and phone slept while connected when i oppend it the app worked
Thank you for your time and help .
The text was updated successfully, but these errors were encountered: