Install App By USB [Install canceled by user]
Asked Answered
C

2

9

I'm able to install application by USB to my Android Device.

But, mistakenly when Allow/Deny installation popup shown on Android .. I clicked Deny and also checked Remember my Choice.

Now, Every Attempt to install app via usb (ADB) failed with error com.android.ddmlib.InstallException: Failed to finalize session : INSTALL_FAILED _USER_RESTRICTED: Install canceled by user

enter image description here

I clicked Deny with Remember choice checked. Now all installations are failing.

I restarted my device, Enabled Disabled Developer Options But, didn't worked :(

How to reset my choice ?

Cally answered 17/2, 2018 at 7:22 Comment(4)
uninstall your application and try installing it back.Finn
Tried but, all further installations are getting failed.. with same error.. Install canceled by user.Cally
are you on miui?Skep
try user apelsinex's solution from en.miui.com/thread-544718-1-1.html. It happened to me yesterday, and that solution worked.Skep
F
21

I made same thing as you.

TDLR: Apps -> Permissions -> Install via USB -> Uncheck App

Forehead answered 7/10, 2020 at 11:4 Comment(0)
F
3

Check this two images. Connect the device and run your app and look your device where you will get a popup saying installation is blocked, click on it and open then uncheck the toggle button.

Block Installation and here disable it

Finn answered 17/2, 2018 at 7:49 Comment(5)
Is suggested solution helped you?Finn
In my case, I don't see any toggle button: en.miui.com/…Pfosi
What was the initial issue? Is behaviour is same for all the app you are trying to install or only to specific app?Finn
I'm trying to install it from Unity3D. It worked first time. Then that issue happens over and over. I did not try with other apps.Pfosi
Sorry, I have no idea.Finn

© 2022 - 2024 — McMap. All rights reserved.