简体   繁体   中英

Install App By USB [Install canceled by user]

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

在此处输入图片说明

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 ?

I made same thing as you.

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

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.

块安装 and在这里禁用它

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM