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
uncheck app, you've blocked.
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.