Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

returns error 'UNSUPPORTED'' while run app

I just updated my Android Studio to version 3.5. When I run App using my phone, it successfully compiles, but an error occurs during the installation process.

this is the error message:

Installation did not succeed.
The application could not be installed.
Installation failed due to: ''pm install-create -r -t -S 1472245' returns error 'UNSUPPORTED''

How can I fix this?

like image 334
Ignatius Sandyawan Avatar asked Sep 06 '19 11:09

Ignatius Sandyawan


2 Answers

You can solve this problem by disabling MIUI optimization from developed options:

Settings -> Developer options -> MIUI optimization

Disable it and it will ask to reboot the device, after that the app can be installed

like image 120
Shivam Agarwal Avatar answered Nov 05 '22 06:11

Shivam Agarwal


I had the same issue. Finally after some research I got it working. Disabled developer mode on the phone. Then enabled it again and enabled all options like USB install, USB debugging etc, disabled MIUI optimization and rebooted the phone. After reboot, the app installed and is working fine.

like image 20
Avi Avatar answered Nov 05 '22 06:11

Avi