Skip to content

Flutter tool should print adb error #10929

Closed
@mit-mit

Description

@mit-mit

When adb fails during a flutter run, we print the non-descriptive error:

Launching lib/main.dart on Android SDK built for x86 in debug mode...
Running 'gradle assembleDebug'...                    10.5s
Built build\app/outputs/apk/app-debug.apk (21.7MB).
Installing build\app/outputs/apk/app.apk...           0.8s
Error: ADB exited with exit code 1

adb itself has more descriptive errors:

adb.exe install C:\Users\mit\tmp\app200\build\app/outputs/apk/app-debug.apk
Failed to install C:\Users\mit\tmp\app200\build\app/outputs/apk/app-debug.apk:
Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]

Can we print those?

Metadata

Metadata

Assignees

Labels

platform-androidAndroid applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions