[ +30 ms] executing: sysctl hw.optional.arm64
[ +5 ms] Exit code 0 from: sysctl hw.optional.arm64
[ ] hw.optional.arm64: 1
[ +7 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] Artifact Instance of 'LegacyCanvasKitRemover' 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 '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.
[ ] 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.
[ ] executing: [/Users/shehabmohamed/development/flutter/] git -c log.showSignature=false log HEAD -n 1
--pretty=format:%ad --date=iso
[ +32 ms] Exit code 0 from: git -c log.showSignature=false log HEAD -n 1 --pretty=format:%ad --date=iso
[ ] 2026-03-17 16:14:01 -0700
[ +8 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.
[ ] Artifact Instance of 'FlutterEngineStamp' is not required, skipping update.
[ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[ +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +23 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] Artifact Instance of 'FlutterEngineStamp' is not required, skipping update.
[ ] Artifact Instance of 'LegacyCanvasKitRemover' 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 '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.
[ ] 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.
[ +41 ms] executing: which security
[ +16 ms] executing: which openssl
[ +8 ms] executing: security find-identity -p codesigning -v
[ +66 ms] 1) A24BEFD4AD193D7BAFE8807CC720B81125F9E8AE "Apple Development: Shehab Mohamed (35BS6HG68Z)"
2) 72FC22D2ED420C965DAD9E6368507CDE2666F7D7 "iPhone Distribution: Easyntech LLC (3H2BJ3QF2Q)"
3) 30DE65656FDC44CB74FFF40608949ABFFAA4F9C2 "Apple Development: shehabmohamed415@gmail.com (9ZPQG8292R)"
4) 007685C245E76BCF15093E16BAA22F2F7CDA09EE "Apple Development: Shehab Mohamed (35BS6HG68Z)"
5) AF9C567740541DD8F6D6B58A5600B48E30FB7B4A "Apple Distribution: Easyntech LLC (3H2BJ3QF2Q)"
5 valid identities found
[ +1 ms] Found saved certificate choice "Apple Development: shehabmohamed415@gmail.com (9ZPQG8292R)". To clear, use
"flutter config
--clear-ios-signing-settings".
[ +1 ms] executing: security find-certificate -c 9ZPQG8292R -p
[ +13 ms] -----BEGIN CERTIFICATE-----
MIIF1jCCBL6gAwIBAgIQTi3omYl/dxJGDx7QnBo16zANBgkqhkiG9w0BAQsFADB1
MUQwQgYDVQQDDDtBcHBsZSBXb3JsZHdpZGUgRGV2Z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2DIGzUmVsaWFuY2Ugb24gdGhpcyBjZXJ0aWZpY2F0ZSBieSBhbnkgcGFy
dHkgYXNzdW1lcyBhY2NlcHRhbmNlIG9mIHRoZSB0aGVuIGFwcGxpY2FibGUgc3Rh
bmRhcmQgdGVybXMgYW5kIGNvbmRpdGlvbnMgb2YgdXNlLCBjZXJ0aWZpY2F0ZSBw
b2xpY3kgYW5kIGNlcnRpZmljYXRpb24gcHJhY3RpY2Ugc3RhdGVtZW50cy4wNwYI
KwYBBQUHAgEWK2h0dHBzOi8vd3d3LmFwcGxlLmNvbS9jZXJ0aWZpY2F0ZWF1dGhv
cml0eS8wFgYDVR0lAQH/BAwwCgYIKwYBBQUHAwMwHQYDVR0OBBYEFAsxFzSuJ2xW
U5jX70GT+t0U6z6rMA4GA1UdDwEB/wQEAwIHgDATBgoqhkiG92NkBgECAQH/BAIF
ADATBgoqhkiG92NkBgEMAQH/BAIFADANBgkqhkiG9w0BAQsFAAOCAQEAUtu6/4Rb
WNoCZwg+RGyQRTqQvBBJFzQMHNlGcUz0nKwUN3CZa+BtPDS49FSi0qc4mvqMvNYw
nCpym4KfFCPLpK4pmDIAJbTkrelRDh9pmSgll1D2rUohjN+MffefKCHz6byPE+HE
MoQZN+efDeO47NjBvfTACiWelhvG8OJr/WJM0qAZPrbvp7ky3lQtvKgl4/YlC5vg
Gg07p8tlHXFNcLh/W9WuiOr9p1PtxBigFiOZnRxKAG0z5z899sUkoWHU1PqPEgbU
bb+nycULhnrWDPWJdt7oay/F5iyizkEybsrVU+FTGgSstF7Fdu5njZXOVlBKFTS8
5VZsvWaw3uZ+bw==
-----END CERTIFICATE-----
[ ] executing: openssl x509 -subject
[ +15 ms] Developer identity "Apple Development: shehabmohamed415@gmail.com (9ZPQG8292R)" selected for iOS code signing
[ +6 ms] Creating project foo...
[ +30 ms] Skipping /Users/shehabmohamed/development/flutter/packages/flutter_tools/templates/app/.DS_Store, missing from
the template manifest.
[ +109 ms] executing: [/Users/shehabmohamed/Desktop/work/gabster/]
/Users/shehabmohamed/development/flutter/bin/cache/dart-sdk/bin/dart pub --suppress-analytics --color --directory foo get
--example
Resolving dependencies in `foo`...
Downloading packages... (1.2s)
Got dependencies in `foo`.
[+1943 ms] executing: sysctl hw.optional.arm64
[ +5 ms] Exit code 0 from: sysctl hw.optional.arm64
[ ] hw.optional.arm64: 1
[ ] executing: /usr/bin/arch -arm64e xcrun xcodebuild -version
[ +291 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun xcodebuild -version
[ ] Xcode 26.2
Build version 17C52
[ +58 ms] Generating
/Users/shehabmohamed/Desktop/work/gabster/foo/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +50 ms] Wrote 131 files.
[ ]
All done!
[ ] You can find general documentation for Flutter at: https://docs.flutter.dev/
Detailed API documentation is available at: https://api.flutter.dev/
If you prefer video documentation, consider: https://www.youtube.com/c/flutterdev
In order to run your application, type:
$ cd foo
$ flutter run
Your application code is in foo/lib/main.dart.
[ +94 ms] executing: /usr/bin/plutil -convert xml1 -o - /Applications/Android Studio.app/Contents/Info.plist
[ +10 ms] Exit code 0 from: /usr/bin/plutil -convert xml1 -o - /Applications/Android Studio.app/Contents/Info.plist
[ ] <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>ipr</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>studio.icns</string>
<key>CFBundleTypeName</key>
<string>Android Studio Project File</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>*</string>
</array>
<key>CFBundleTypeName</key>
<string>All documents</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>****</string>
</array>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
<false/>
</dict>
</array>
<key>CFBundleExecutable</key>
<string>studio</string>
<key>CFBundleGetInfoString</key>
<string>Android Studio 2025.2, build AI-252.25557.131.2521.14344949. Copyright JetBrains s.r.o., (c)
2000-2025</string>
<key>CFBundleIconFile</key>
<string>studio.icns</string>
<key>CFBundleIdentifier</key>
<string>com.google.android.studio</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Android Studio</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2025.2</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>Stacktrace</string>
<key>CFBundleURLSchemes</key>
<array>
<string>idea</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>AI-252.25557.131.2521.14344949</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>LSArchitecturePriority</key>
<array>
<string>arm64</string>
</array>
<key>LSMinimumSystemVersion</key>
<string>10.13</string>
<key>LSRequiresNativeExecution</key>
<string>YES</string>
<key>NSAppleEventsUsageDescription</key>
<string>An application in Android Studio requests the ability to send Apple events.</string>
<key>NSBluetoothAlwaysUsageDescription</key>
<string>An application in Android Studio requests access to Bluetooth.</string>
<key>NSCameraUsageDescription</key>
<string>An application in Android Studio requests access to the device's camera.</string>
<key>NSDesktopFolderUsageDescription</key>
<string>An application in Android Studio requests access to the user's Desktop folder.</string>
<key>NSDocumentsFolderUsageDescription</key>
<string>An application in Android Studio requests access to the user's Documents folder.</string>
<key>NSDownloadsFolderUsageDescription</key>
<string>An application in Android Studio requests access to the user's Downloads folder.</string>
<key>NSHighResolutionCapable</key>
<true/>
<key>NSLocalNetworkUsageDescription</key>
<string>Android Studio's features, such as SSH and database connectivity, require permissions for accessing the
local network and sending broadcast requests.</string>
<key>NSLocationUsageDescription</key>
<string>An application in Android Studio requests access to the user's location information.</string>
<key>NSMicrophoneUsageDescription</key>
<string>An application in Android Studio requests access to the device's microphone.</string>
<key>NSNetworkVolumesUsageDescription</key>
<string>An application in Android Studio requests access to files on a network volume.</string>
<key>NSRemovableVolumesUsageDescription</key>
<string>An application in Android Studio requests access to files on a removable volume.</string>
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
</dict>
</plist>
[ +67 ms] executing: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java -version
[ +129 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java -version
[ ] openjdk version "21.0.8" 2025-07-15
OpenJDK Runtime Environment (build 21.0.8+-14196175-b1038.72)
OpenJDK 64-Bit Server VM (build 21.0.8+-14196175-b1038.72, mixed mode)
[ +1 ms] executing: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java --version
[ +84 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java --version
[ ] openjdk 21.0.8 2025-07-15
OpenJDK Runtime Environment (build 21.0.8+-14196175-b1038.72)
OpenJDK 64-Bit Server VM (build 21.0.8+-14196175-b1038.72, mixed mode)
[ +3 ms] "flutter create" took 3,087ms.
[ +3 ms] executing: sw_vers -productName
[ +10 ms] Exit code 0 from: sw_vers -productName
[ ] macOS
[ ] executing: sw_vers -productVersion
[ +11 ms] Exit code 0 from: sw_vers -productVersion
[ ] 26.3.1
[ ] executing: sw_vers -buildVersion
[ +10 ms] Exit code 0 from: sw_vers -buildVersion
[ ] 25D771280a
[ ] executing: uname -m
[ +5 ms] Exit code 0 from: uname -m
[ ] arm64
[ +33 ms] Running 1 shutdown hook
[ ] Shutdown hooks complete
[ +202 ms] exiting with code 0```
</details>
### Flutter Doctor output
<details open><summary>Doctor output</summary>
```console
[✓] Flutter (Channel stable, 3.41.5, on macOS 26.3.1 25D771280a darwin-arm64, locale en-EG) [698ms]
• Flutter version 3.41.5 on channel stable at /Users/shehabmohamed/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 2c9eb20739 (5 weeks ago), 2026-03-17 16:14:01 -0700
• Engine revision 052f31d115
• Dart version 3.11.3
• DevTools version 2.54.2
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android,
enable-ios, cli-animations, enable-native-assets, enable-swift-package-manager, omit-legacy-version-file,
enable-lldb-debugging, enable-uiscene-migration
[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0) [3.9s]
• Android SDK at /Users/shehabmohamed/Library/Android/sdk
• Emulator version 36.2.12.0 (build_id 14214601) (CL:N/A)
• Platform android-36, build-tools 36.1.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 21.0.8+-14196175-b1038.72)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 26.2) [1,433ms]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 17C52
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [6ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Connected device (3 available) [7.4s]
• V2529 (mobile) • 10JG1S00YF0014B • android-arm64 • Android 15 (API 35)
• macOS (desktop) • macos • darwin-arm64 • macOS 26.3.1 25D771280a darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 147.0.7727.103
! Error: Browsing on the local area network for iPhone. Ensure the device is unlocked and attached with a cable or
associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
! Error: Browsing on the local area network for iPad Mahmoud. Ensure the device is unlocked and attached with a
cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources [419ms]
• All expected network resources are available.
• No issues found!```
</details>
Steps to reproduce
It happens actually if I run in debug mode and I swipe the app from app switcher or even stop running the app once
device
Vivo with android 15
Expected results
The app to continue to work as expected
Actual results
The Flutter app gets stuck on a white screen, and the debugger never attaches—nothing happens after launch.
The terminal also hangs at:
Launching lib/main.dart on V2529 in debug mode...
✓ Built build/app/outputs/flutter-apk/app-debug.apk
In some cases, the app actually runs on the device, but the terminal still freezes at the same point and no logs appear.
I tried unplugging the USB cable, running adb kill-server and adb start-server, but that didn’t fix it. The only thing that works is restarting the device and reconnecting it and it also does not work all the time.
this also happens when I am running the app from the terminal not only the IDE
Code sample
Code sample
[Paste your code here]Screenshots or Video
Screenshots / Video demonstration
Logs
Logs