returns error 'UNSUPPORTED'' while run app

3.2k Views Asked by At

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?

2

There are 2 best solutions below

2
Avi On

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.

1
Shivam Agarwal On

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