Error after Android update

Asked 2 years ago, Updated 2 years ago, 54 views

An error occurred after updating Android from 2.2 to 2.3.

In previous versions, the returned project or the newly created Empty project in 2.3 will not be installed in AVD

I looked everywhere, and I tried validating cashe and restart, checking out Instant Run, and turning off Integrate AVD, but it didn't work. I also tried Clear project.

As for the update, we did all the updates with pop-up windows such as gradle as well as 2.3 and used AVD with 24, 23, and 25 API level.

With the AVD running, the Android studio does not recognize the AVD operation and stops with a progress message "Waiting for target device to come online". Sometimes it works, but if you turn on and run Android Studio again, the project will not be installed.

I don't know exactly, but I think there was an error in the connection between the two, but the Android studio, the user configuration file, and the JDK are all deleted and then reinstalled, and the same problem occurs.

Does anyone have a solution to this problem?

android launcher-error

2022-09-21 19:39

1 Answers

Sometimes the adb doesn't work, please exit Android Studio and enter the following command in the command window:

#] adb kill-server
#] adb start-server
* * daemon not running. starting it now at tcp:5037 *
* * daemon started successfully *

If it runs without any errors, as in the log above, rerun the Android studio or enter adb devices in the command window to see if the connected device is properly output.

#] adb devices 
List of devices attached
3230958a31e0c025    device

If it doesn't work with the above method, I think it would be a good idea to force the adb process to end with the command below and try running Android Studio again.

#] killall adb

And it would be meaningful to check if it's an AVD problem. Check if the actual Android device is connected well, and if it works well, make a new AVD and test it.


2022-09-21 19:39

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.