Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cmd: Can't find service: activity #Error: ADB exited with exit code 1 in flutter

after updating android studio, i run my flutter program.

Error is showing that


Launching lib\main.dart on AOSP on IA Emulator in debug mode...
Running Gradle task 'assembleDebug'...
√ Built build\app\outputs\apk\debug\app-debug.apk.
cmd: Can't find service: activity
Installing build\app\outputs\apk\app.apk...
Error: ADB exited with exit code 1
Performing Streamed Install

adb: failed to install D:\Tutorial3\flutter_ecommerce\build\app\outputs\apk\app.apk: cmd: Can't find service: package
Error launching application on AOSP on IA Emulator.
like image 602
Zin Myo Swe Avatar asked Apr 10 '20 17:04

Zin Myo Swe


1 Answers

  • Open AVD Manager
  • Wipe Data (delete datas from emulator)
  • Open emulator
  • Try to run app
like image 108
Ingyin Mhwe Avatar answered Nov 08 '22 05:11

Ingyin Mhwe