I'm working on an Android App in Android Studio.
After updating Android Studio to Bumblebee 2021.1.1 Patch 2 it has stopped working.
Now I get the following error:
Installation did not succeed.
The application could not be installed.List of apks:
[0] 'D:\Filer\Dokument\...\app\build\intermediates\apk\debug\app-debug.apk' Installation failed due to: ''cmd package install-create -r -t --user current --full --dont-kill -S 4617721' returns error 'Unknown failure: cmd: Can't find service: package''
Retry
Failed to launch an application on all devices
Any ideas how to solve this?
CodePudding user response:
The problem is most likely with the Android Emulator in Android Studio.
If you do a Cold Reboot
of the Android Emulator it will most likely solve your problem.
Open the Android Studio Device Manager from
Tools
->Device Manager
.Click on the Android Emulator's Device Menu
▼
located on the right hand side in the Device Mananger and ChooseCold Boot Now
.
Now, try to run the app again...