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

Android Platform Tools 29: Error retrieving device properties for ro.product.cpu.abi: #33938

Closed
vanlooverenkoen opened this issue Jun 5, 2019 · 152 comments
Labels
a: annoyance Repeatedly frustrating issues with non-experimental functionality customer: crowd Affects or could affect many people, though not necessarily a specific customer. platform-android Android applications specifically platform-windows Building on or for Windows specifically tool Affects the "flutter" command-line tool. See also t: labels.

Comments

@vanlooverenkoen
Copy link
Contributor

vanlooverenkoen commented Jun 5, 2019

When I try to run my app in an emulator in Android Studio I get the following error. I have to say that it worked before and stopped working after some updates of SDK to v.29. Is there something I have to change now?

Reinstall of android studio and flutter did not work, I tried to kill and restart adb server and disabling heap protection. nothing worked

Error retrieving device properties for ro.product.cpu.abi:

Launching lib\main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...
--------- beginning of main
06-05 20:29:29.366 I/GnssLocationProvider( 1871): WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo@c9864b)
Unhandled exception:
Exit code -1073740940 from: C:\Users\Koen\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
#0      _runWithLoggingSync (package:flutter_tools/src/base/process.dart:360:7)
#1      runCheckedSync (package:flutter_tools/src/base/process.dart:289:10)
#2      AndroidDevice.lastLogcatTimestamp (package:flutter_tools/src/android/android_device.dart:517:27)
#3      _AdbLogReader._start (package:flutter_tools/src/android/android_device.dart:697:41)
#4      _runGuarded (dart:async/stream_controller.dart:805:24)
#5      _BroadcastStreamController._subscribe (dart:async/broadcast_stream_controller.dart:213:7)
#6      _ControllerStream._createSubscription (dart:async/stream_controller.dart:818:19)
#7      _StreamImpl.listen (dart:async/stream_impl.dart:472:9)
#8      FlutterDevice.startEchoingDeviceLog (package:flutter_tools/src/resident_runner.dart:318:71)
#9      FlutterDevice.runHot (package:flutter_tools/src/resident_runner.dart:361:5)
<asynchronous suspension>
#10     HotRunner.run (package:flutter_tools/src/run_hot.dart:253:39)
<asynchronous suspension>
#11     AppDomain.startApp.<anonymous closure> (package:flutter_tools/src/commands/daemon.dart:392:23)
#12     AppDomain.launch.<anonymous closure> (package:flutter_tools/src/commands/daemon.dart:452:26)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:29)
<asynchronous suspension>
#14     _rootRun (dart:async/zone.dart:1124:13)
#15     _CustomZone.run (dart:async/zone.dart:1021:19)
#16     _runZoned (dart:async/zone.dart:1516:10)
#17     runZoned (dart:async/zone.dart:1463:12)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:152:18)
<asynchronous suspension>
#19     AppInstance._runInZone (package:flutter_tools/src/commands/daemon.dart:822:20)
#20     AppDomain.launch (package:flutter_tools/src/commands/daemon.dart:450:15)
<asynchronous suspension>
#21     AppDomain.startApp (package:flutter_tools/src/commands/daemon.dart:386:12)
<asynchronous suspension>
#22     RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:301:38)
<asynchronous suspension>
#23     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:488:18)
#24     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:77:64)
#25     _rootRunUnary (dart:async/zone.dart:1132:38)
#26     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#27     _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#28     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#29     Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#30     Future._complete (dart:async/future_impl.dart:473:7)
#31     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#32     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:28:18)
#33     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:294:13)
#34     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#35     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:77:64)
#36     _rootRunUnary (dart:async/zone.dart:1132:38)
#37     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#38     _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#39     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#40     Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#41     Future._complete (dart:async/future_impl.dart:473:7)
#42     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#43     _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async-patch/async_patch.dart:33:20)
#44     _rootRun (dart:async/zone.dart:1124:13)
#45     _CustomZone.run (dart:async/zone.dart:1021:19)
#46     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#47     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#48     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#49     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:115:13)
#50     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:5)

Steps to Reproduce

  1. Install the latest version of android studio beta on windows (platform tools 29 will be installed)

Logs

[√] Flutter (Channel master, v1.5.9-pre.131, on Microsoft Windows [Version 10.0.17134.765], locale nl-BE)
    • Flutter version 1.5.9-pre.131 at C:\Users\Koen\Documents\flutter
    • Framework revision 38808d9fe4 (5 weeks ago), 2019-05-03 09:48:20 -0700
    • Engine revision 1bcbaf73a7
    • Dart version 2.3.0 (build 2.3.0-dev.0.5 1577b95c93)

/Error retrieving device properties for ro.product.cpu.abi:

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
    • Android SDK at C:\Users\Koen\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.0
    • Java binary at: C:\Program Files\Android\Android Studio Beta\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b02)
    • All Android licenses accepted.

[√] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio Beta
    • Flutter plugin version 36.0.7
    • Dart plugin version 191.7830
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b02)

[!] VS Code (version 1.35.0)
    • VS Code at C:\Users\Koen\AppData\Local\Programs\Microsoft VS Code
    X Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-arm • Android null (API null)

! Doctor found issues in 1 category.


This did not work:
#16865

@brunocerk
Copy link

Exactly same error here, tried the same things

@vanlooverenkoen
Copy link
Contributor Author

Did you update your platform tools to 29 as well?

@brunocerk
Copy link

I updated everything yesterday, there was 3 or 4 tools updates to do, i think platform tools was one of them.
image

@vanlooverenkoen
Copy link
Contributor Author

I was working on a project in Android studio stable. But auto imports are only supported in the Android studio beta. I downloaded the Beta version on my windows. and boom everything was broken. The installation updated the platform sdk to 29

@brunocerk
Copy link

I'm setting up everything to work on Windows, installed Android Studio using JetBrains Toolbox, installed all de SDKs and tools, but when i tried to build on emulator it showed up the error, moved to real device, same thing, then i started looking for solutions

@SValab
Copy link

SValab commented Jun 5, 2019

On stable i'm getting the same error after updating to 29. You can do a quick test to see the error using flutter doctor instead of running your project. Just make sure your device is running / connected.

@vanlooverenkoen
Copy link
Contributor Author

vanlooverenkoen commented Jun 5, 2019

I found a temporary fix while we wait for a solution provided by the Flutter team

Windows: http://dl-ssl.google.com/android/repository/platform-tools_r28.0.2-windows.zip
macOS: http://dl-ssl.google.com/android/repository/platform-tools_r28.0.2-darwin.zip
Linux: http://dl-ssl.google.com/android/repository/platform-tools_r28.0.2-linux.zip

this download contains the platform tools for 28.0.1

if you back up your platform-tools folder and place the content of the zip in the platform-tools folder.
image

this should be in your platform-tools folder
image

THIS IS A TEMPORARY FIX, NOT A SOLUTION

@brunocerk
Copy link

brunocerk commented Jun 5, 2019

I prefer going back to my Linux boot where i haven't upgraded it, but thats a nice workaround, thanks for it!

@heinrichreimer
Copy link

@vanlooverenkoen You could also just download the platform-tools folder from official Google servers:

@vanlooverenkoen
Copy link
Contributor Author

Aaah nice. I couldn't find the links :D thanks. I updated my comment as well

@heinrichreimer
Copy link

@brunocerk Downgrading isn't hard.

  1. Navigate to the Android SDK folder.
  2. Remove platform-tools folder.
  3. Unzip downloaded platform-tools from version 28.0.2, the last version before 29.0.0.

On Bash these are the commands you need (run at Android SDK home):

rm -r platform-tools
wget -O platform-tools.zip http://dl-ssl.google.com/android/repository/platform-tools_r28.0.2-linux.zip
unzip platform-tools.zip
rm platform-tools.zip

@Martin-P
Copy link

Martin-P commented Jun 5, 2019

@vanlooverenkoen Thanks for this temporary fix.

For anyone who does not know where to find the platform-tools folder (at least I did not know 😉), the folder screenshot in #33938 (comment) can be found at the following location:

C:\Users\[your-username]\AppData\Local\Android\Sdk

(AppData is a hidden folder by default)

@dxdiagmauric
Copy link

Same problem, fix platform-tools

@intercorps
Copy link

Its impressive how 2 google projects dont take care of this massive issues in consideration. This workaround works for now...

@cnkygmr
Copy link

cnkygmr commented Jun 5, 2019

same problem 5 hour ago

@mccreeper98
Copy link

@vanlooverenkoen Gracias por esta solución temporal.

Para cualquier persona que no sepa dónde encontrar la platform-toolscarpeta (al menos yo no sabía😉), la captura de pantalla de la carpeta en # 33938 (comentario) se puede encontrar en la siguiente ubicación:

C:\Users\[your-username]\AppData\Local\Android\Sdk

( AppDataEs una carpeta oculta por defecto)

other option windos + r, type %appdata%

aam added a commit to aam/flutter that referenced this issue Jun 5, 2019
In android platform tools 29.0.0 adb.exe shell seems to be exiting with heap corruption exit code, otherwise producing results as expected. This PR whitelists this exit code on Windows.

Fixes flutter#33938.
@GuilhermeVendramini
Copy link

Same problem here.

@PhilParisot
Copy link

PhilParisot commented Jun 6, 2019

I have the same problem, I'm on the Android Studio stable channel and I rather wait for a fix instead of downgrading. How will we know if a fix is coming to the stable channel? How about the Beta/Dev/Canary Android Studio channels? Or will the fix have to be on the Flutter SDK side?

@shamoore
Copy link

shamoore commented Jun 6, 2019

Same issue. did the work around for now but that's inconvenient.

@470772345
Copy link

thanks~

@jp1017
Copy link

jp1017 commented Jun 6, 2019

@tdh8316
Copy link

tdh8316 commented Jun 6, 2019

I found a temporary fix while we wait for a solution provided by the Flutter team

Windows: http://dl-ssl.google.com/android/repository/platform-tools_r28.0.2-windows.zip
macOS: http://dl-ssl.google.com/android/repository/platform-tools_r28.0.2-darwin.zip
Linux: http://dl-ssl.google.com/android/repository/platform-tools_r28.0.2-linux.zip

this download contains the platform tools for 28.0.1

if you back up your platform-tools folder and place the content of the zip in the platform-tools folder.
image

this should be in your platform-tools folder
image

THIS IS A TEMPORARY FIX, NOT A SOLUTION

Huge thanks!

@cvilia
Copy link

cvilia commented Jun 6, 2019

saved me!

@jj007force
Copy link

Thank you! Downgrading the platform tools fixed the issue. Hope a newer sdk update or flutter update comes out to fix the issue with version 29.

@meidikawardana
Copy link

thank you.. I got problem yesterday and wake up till 3AM trying to solve this problem. now I am curious, how I can file an issue so this issue can be solved by Google's developers?

@Sun3
Copy link

Sun3 commented Jun 6, 2019

Same error here too.

@ilvassa
Copy link

ilvassa commented Jun 10, 2019

Tanks for the work around!!!! ...
#33938 (comment)

It was affecting both Windows and Linux enviroments for days... But it's bugging me that I've tried downgrading flutter and android sdk but for some reason it didn't work.... and now yes....

Now I'll wait for the real fix.

@fredgrott
Copy link

for easy way someone is keeping track and storing things on github https://github.com/awake558/adb-win

so makes it easy for manually installing and fixing

@iozuniga
Copy link

repeat for all:
_cmd on Flutter folder
_git pull
_flutter channel master
_flucter doctor

It worked for me too! BTW, I also runned 'flutter upgrade' after 'flutter doctor'.
I look forward to switch back again to the stable channel

@KaranSingh1412
Copy link

#33938 (comment)
This steps seem to work very good,
Just launch to your flutter where you have installed it and write these commands to make it work;
git pull
flutter channel master
flutter doctor

just to repeat again

@mtb550
Copy link

mtb550 commented Jun 10, 2019

I spent two days in my work to solve this issue... My Guaaaaaaaaaaaaaaaaaaaaaaaaaaaaad.
thanks brothers

@abc123james
Copy link

After update the platform tools , the problem solved
image

@GaboCuba
Copy link

I had the same problem. I uninstalled Platform Tools 29 on Android Studio and voilá!!! All working again! Thanks for the post.

@akshay512
Copy link

akshay512 commented Jun 11, 2019 via email

@iozuniga
Copy link

Confirmed. After the update to 29.0.1 y moved to stable channel and everything working.

@clin003
Copy link

clin003 commented Jun 11, 2019

打开Android Studio 根据提示把platform tools 29.0.0升级到29.0.1 就正常啦。

@SaiHtetMyatHtut
Copy link

SaiHtetMyatHtut commented Jun 11, 2019 via email

@talhashahab
Copy link

I sloved this problem please update your sdk in android studio click tools then click sdk manger then sdk tool and here update your sdk then run your app then it will be install in your device

@sarahpoehler4
Copy link

still same issue nothing worked for us. reinstalled everything. nothing works......

@erlangparasu
Copy link

Try install platform-tools version 29.0.1 👍

Windows: http://dl-ssl.google.com/android/repository/platform-tools_r29.0.1-windows.zip
macOS: http://dl-ssl.google.com/android/repository/platform-tools_r29.0.1-darwin.zip
Linux: http://dl-ssl.google.com/android/repository/platform-tools_r29.0.1-linux.zip

kiku-jw pushed a commit to kiku-jw/flutter that referenced this issue Jun 14, 2019
* Whitelist adb.exe heap corruption exit code.

In android platform tools 29.0.0 adb.exe shell seems to be exiting with heap corruption exit code, otherwise producing results as expected. This PR whitelists this exit code on Windows.

Fixes flutter#33938.

* Fix condition

* Fix 'shell am start' command

* Fix stop command

* Refactor into runAdbMostlyChecked(Sync/Async)

* runAdbMostlyChecked -> runAdbChecked
@hwqz
Copy link

hwqz commented Jun 17, 2019

Same problem, fix platform-tools

@gaosy87
Copy link

gaosy87 commented Jun 17, 2019

I found a temporary fix while we wait for a solution provided by the Flutter team

Windows: http://dl-ssl.google.com/android/repository/platform-tools_r28.0.2-windows.zip
macOS: http://dl-ssl.google.com/android/repository/platform-tools_r28.0.2-darwin.zip
Linux: http://dl-ssl.google.com/android/repository/platform-tools_r28.0.2-linux.zip

this download contains the platform tools for 28.0.1

if you back up your platform-tools folder and place the content of the zip in the platform-tools folder.
image

this should be in your platform-tools folder
image

THIS IS A TEMPORARY FIX, NOT A SOLUTION

Same problem, fix platform-tools

@intercorps
Copy link

New issue today running any flutter app:

[+24892 ms] FAILURE: Build failed with an exception.
[ ] * What went wrong:
[ ] Execution failed for task ':app:transformNativeLibsWithMergeJniLibsForDebug'.
[ ] > More than one file was found with OS independent path 'lib/x86/libflutter.so'

@gmanonline504
Copy link

Unhandled exception:
Exit code -1073740940 from: C:\Users\hp\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
#0 _runWithLoggingSync (package:flutter_tools/src/base/process.dart:360:7)
#1 runCheckedSync (package:flutter_tools/src/base/process.dart:289:10)
#2 AndroidDevice.lastLogcatTimestamp (package:flutter_tools/src/android/android_device.dart:513:27)
#3 _AdbLogReader._start (package:flutter_tools/src/android/android_device.dart:688:41)
#4 _runGuarded (dart:async/stream_controller.dart:805:24)
#5 _BroadcastStreamController._subscribe (dart:async/broadcast_stream_controller.dart:213:7)
#6 _ControllerStream._createSubscription (dart:async/stream_controller.dart:818:19)
#7 _StreamImpl.listen (dart:async/stream_impl.dart:472:9)
#8 FlutterDevice.startEchoingDeviceLog (package:flutter_tools/src/resident_runner.dart:318:71)
#9 FlutterDevice.runHot (package:flutter_tools/src/resident_runner.dart:361:5)

#10 HotRunner.run (package:flutter_tools/src/run_hot.dart:253:39)

#11 AppDomain.startApp. (package:flutter_tools/src/commands/daemon.dart:389:23)
#12 AppDomain.launch. (package:flutter_tools/src/commands/daemon.dart:449:26)

#13 AppContext.run. (package:flutter_tools/src/base/context.dart:142:29)

#14 _rootRun (dart:async/zone.dart:1124:13)
#15 _CustomZone.run (dart:async/zone.dart:1021:19)
#16 _runZoned (dart:async/zone.dart:1516:10)
#17 runZoned (dart:async/zone.dart:1463:12)
#18 AppContext.run (package:flutter_tools/src/base/context.dart:141:18)

#19 AppInstance._runInZone (package:flutter_tools/src/commands/daemon.dart:819:20)
#20 AppDomain.launch (package:flutter_tools/src/commands/daemon.dart:447:15)

#21 AppDomain.startApp (package:flutter_tools/src/commands/daemon.dart:383:12)

#22 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:301:38)

#23 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:559:18)
#24 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:77:64)
#25 _rootRunUnary (dart:async/zone.dart:1132:38)
#26 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#27 _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#28 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#29 Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#30 Future._complete (dart:async/future_impl.dart:473:7)
#31 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#32 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:28:18)
#33 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:294:13)
#34 RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#35 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:77:64)
#36 _rootRunUnary (dart:async/zone.dart:1132:38)
#37 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#38 _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#39 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#40 Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#41 Future._complete (dart:async/future_impl.dart:473:7)
#42 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#43 _AsyncAwaitCompleter.complete. (dart:async-patch/async_patch.dart:33:20)
#44 _rootRun (dart:async/zone.dart:1124:13)
#45 _CustomZone.run (dart:async/zone.dart:1021:19)
#46 _CustomZone.bindCallback. (dart:async/zone.dart:947:23)
#47 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#48 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#49 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:115:13)
#50 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:5)
Exited (255)

@gmanonline504
Copy link

please i have tried everything but none of it worked

@gmanonline504
Copy link

i tried installing platform tools 28
i tried google everything i could but i couldnt get any solutions

Error retrieving device properties for ro.product.cpu.abi:
Launching lib\main.dart on Android SDK built for x86 in debug mode...
--------- beginning of main
07-16 18:58:54.697 I/DeviceStateChecker( 2713): DeviceStateChecker cancelled
Unhandled exception:
Exit code -1073740940 from: C:\Users\hp\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
#0 _runWithLoggingSync (package:flutter_tools/src/base/process.dart:360:7)
#1 runCheckedSync (package:flutter_tools/src/base/process.dart:289:10)
#2 AndroidDevice.lastLogcatTimestamp (package:flutter_tools/src/android/android_device.dart:513:27)
#3 _AdbLogReader._start (package:flutter_tools/src/android/android_device.dart:688:41)
#4 _runGuarded (dart:async/stream_controller.dart:805:24)
#5 _BroadcastStreamController._subscribe (dart:async/broadcast_stream_controller.dart:213:7)
#6 _ControllerStream._createSubscription (dart:async/stream_controller.dart:818:19)
#7 _StreamImpl.listen (dart:async/stream_impl.dart:472:9)
#8 FlutterDevice.startEchoingDeviceLog (package:flutter_tools/src/resident_runner.dart:318:71)
#9 FlutterDevice.runHot (package:flutter_tools/src/resident_runner.dart:361:5)

#10 HotRunner.run (package:flutter_tools/src/run_hot.dart:253:39)

#11 AppDomain.startApp. (package:flutter_tools/src/commands/daemon.dart:389:23)
#12 AppDomain.launch. (package:flutter_tools/src/commands/daemon.dart:449:26)

#13 AppContext.run. (package:flutter_tools/src/base/context.dart:142:29)

#14 _rootRun (dart:async/zone.dart:1124:13)
#15 _CustomZone.run (dart:async/zone.dart:1021:19)
#16 _runZoned (dart:async/zone.dart:1516:10)
#17 runZoned (dart:async/zone.dart:1463:12)
#18 AppContext.run (package:flutter_tools/src/base/context.dart:141:18)

#19 AppInstance._runInZone (package:flutter_tools/src/commands/daemon.dart:819:20)
#20 AppDomain.launch (package:flutter_tools/src/commands/daemon.dart:447:15)

#21 AppDomain.startApp (package:flutter_tools/src/commands/daemon.dart:383:12)

#22 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:301:38)

#23 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:559:18)
#24 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:77:64)
#25 _rootRunUnary (dart:async/zone.dart:1132:38)
#26 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#27 _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#28 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#29 Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#30 Future._complete (dart:async/future_impl.dart:473:7)
#31 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#32 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:28:18)
#33 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:294:13)
#34 RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#35 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:77:64)
#36 _rootRunUnary (dart:async/zone.dart:1132:38)
#37 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#38 _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#39 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#40 Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#41 Future._complete (dart:async/future_impl.dart:473:7)
#42 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#43 _AsyncAwaitCompleter.complete. (dart:async-patch/async_patch.dart:33:20)
#44 _rootRun (dart:async/zone.dart:1124:13)
#45 _CustomZone.run (dart:async/zone.dart:1021:19)
#46 _CustomZone.bindCallback. (dart:async/zone.dart:947:23)
#47 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#48 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#49 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:115:13)
#50 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:5)
Exited (255)

@erlangparasu
Copy link

@gmanonline504 #33938 (comment)
try version 29

@gilzonme
Copy link

gilzonme commented Aug 5, 2019

@filiph filiph added the a: annoyance Repeatedly frustrating issues with non-experimental functionality label Sep 11, 2019
@joaomarcos96
Copy link

For those still having this problem, try USB for file transfer instead of USB for charging or anything else. That did the trick for me.

@Kasre96
Copy link

Kasre96 commented Feb 5, 2020

@joaomarcos96 Thanks. worked for me almost instantly

@AlaaMouch
Copy link

I was trying things out and doing this (comment) and this (comment) solved it!
Many thanks!

@github-actions
Copy link

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 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: annoyance Repeatedly frustrating issues with non-experimental functionality customer: crowd Affects or could affect many people, though not necessarily a specific customer. platform-android Android applications specifically platform-windows Building on or for Windows specifically tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
Development

No branches or pull requests