'Android Studio returns error "Installation failed due to: ''cmd package install-create..."
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?
Solution 1:[1]
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...
Solution 2:[2]
If its not on an emulator check whether you have enough space on your device during USB Debugging.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Ola Ström |
| Solution 2 | user18740380 |



