Countup app does not start

Asked 2 years ago, Updated 2 years ago, 49 views

When I create a new Flutter project in Android Studio and run lib/main.dart directly below the project I created, I get the following error, and when I click the + button, the count-up application does not appear in the emulator.

What I tried
I tried Actions->Wipe Data in Android Device Manager.

error message

Launching lib\main.dart on AOSP on IA Emulator in debug mode...
Running Gradle task 'assemblyDebug'...
Warning: Mapping news http://schemas.android.com/repository/android/common/02 to old ns 
Warning: Mapping news http://schemas.android.com/repository/android/generic/02 to old ns 
Warning: Mapping news http://schemas.android.com/sdk/android/repo/addon2/02 to old ns 
Warning: Mapping news http://schemas.android.com/sdk/android/repo/repository2/02 to old ns 
Warning: Mapping news http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
√  Build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app.apk...
cmd:Can't find service:activity
Error: ADB expired with exit code 1
Performing Streamed Install

adb: failed to install C:\Users\StudioProjects\i_am_rich\build\app\outputs\flutter-apk\app.apk:
Error launching application on AOSP on IA Emulator.

flutter

2022-09-29 22:03

1 Answers

I deleted the Virtual Device and ran it with the new Virtual Device, and it worked.

counting app


2022-09-29 22:03

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.