You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error type 2 android.util.AndroidException: Can't connect to activity manager #5734
[✓] Flutter (on Linux, channel alpha)
• Flutter at /home/nb/flutter
• Framework revision 9a0a0d9903 (3 weeks ago), engine revision f8d80c4617
[✓] Android toolchain - develop for Android devices (Android SDK 24.0.2)
• Android SDK at /home/nb/Android/Sdk
• Platform android-24, build-tools 24.0.2
• Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
[✓] Atom - a lightweight development environment for Flutter
• flutter plugin version 0.2.4
• dartlang plugin version 0.6.38
Flutter devices
1 connected device:
sdk phone armv7 • emulator-5554 • android-arm
Flutter run
Running lib/main.dart on sdk phone armv7...
--------- beginning of main
Error type 2
android.util.AndroidException: Can't connect to activity manager; is the system running?
at com.android.commands.am.Am.onRun(Am.java:298)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:47)
at com.android.commands.am.Am.main(Am.java:99)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:249)
Timed out while waiting for a debug connection.
Error running application on sdk phone armv7.
android.util.AndroidException: Can't connect to activity manager; is the system running?
is an error from adb itself. I wonder if other adb commands were working in this setup?
flutter run -v might help us diagnose further. I would expect flutter to work on android arm simulators (as long as they have some sort of gpu emulation).
Thank you very much for the report. We've greatly improved our tooling since this was filed. Please give things a try again, and if they don't work we're happy to work with you to find a fix. But for now I think I should close this particular bug.
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.
Activity
eseidelGoogle commentedon Sep 4, 2016
android.util.AndroidException: Can't connect to activity manager; is the system running?is an error from
adbitself. I wonder if other adb commands were working in this setup?flutter run -vmight help us diagnose further. I would expect flutter to work on android arm simulators (as long as they have some sort of gpu emulation).c1tt1 commentedon Sep 11, 2016
with flutter run -v the emulator keeps crashing.
eseidelGoogle commentedon Feb 3, 2017
Thank you very much for the report. We've greatly improved our tooling since this was filed. Please give things a try again, and if they don't work we're happy to work with you to find a fix. But for now I think I should close this particular bug.
Roll engine to 95e91e3
Roll engine to 95e91e3 (#19716)
github-actions commentedon Aug 15, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.