I work on Android Studio with Meizu MX6
. Previously everything was ok. But it seems after updating Flyme
, I started getting this problem:
Failure [INSTALL_FAILED_USER_RESTRICTED]
If I choose "Ok" I get next:
DELETE_FAILED_INTERNAL_ERROR
When I work with another smartphone all right. If I copy apk-file on my phone all right too. It installs and runs. Install software from unknown sources is on.
I had the same issue. It happens only on Flyme
due to Security
App. To enable installation:
Flyme
apps) Have found the solution here: http://bbs.flyme.cn/thread-1106582-1-1.html using Google Translate.
I also had the same problem with my Xiaomi Redmi note 3 . here's how i solved it,
settings
>> Additional Settings
.developer options
.(if its not there, first goto about phone
and tap on build number
7 times...and start again from step 1)install via USB
.The device is temporarily restricted error appears in MIUI 8.5. To resolve the error you need to make WIFI off and make mobile data on and then enable the option “Install via USB” . It will work for you. Enjoy!
In my Redmi4 i had the same issue. The steps followed to overcome: (1)
DONE
On Redmi Note 4, Go To Settings --> System & Device (Additional Settings) --> Developer Options --> Install via USB.
Register using a mobile number(OTP).
Try again, should work.
Do you have a rooted phone with some application installed that manages App Access authorisations, like King Root?
I had faced with same problem on one of the devices. There was an app on device with super user access that was blocking the new installation. Had to approve installation in that app first before installing new apks.
Redmi Note 7 和 pro 在开发人员选项中允许 USB 调试,通过 USB 安装并禁用通过 USB 验证应用程序
我在Maizu Pro 6上遇到了同样的问题,使手机扎根解决了问题。
if u app's packageName contains number like this : "com.meizu.01", failed.
switch to 'com.meizu.one', ook!
This occurs when you select the option "remember my choice" and Decline accidentally.
The only solution I found was to change the name of the package and application, but this is not feasible in many cases
If you got this after mistakenly "Cancel"-ing when you must have selected Remember my choice
then some dirty fix would be to:
Manually copy the same debug apk from your build output to the same test phone.
Manually install the apk. (You have to allow installation from unknown sources of course)
Go to "App Manager" and clear preferences.
Restart the debug as usual.
NB: This was put up in a hurry after some wasted hours so, I'm yet to verify if step #3 is necessary for this to work.
NBB: You'd be back to square one if you uninstall the app and try to do a fresh install from the debug so, apparently, the App Manager
preference reset doesn't cover whichever subsystem it is that governs the setting. Yes, I know, this should infer that our first #NB is void but things don't always follow intuition so, I'm leaving it till it's verified. :D
for MIUI 9:
I've found a way to unblock the app installs if you have acidentaly marked the option to always block it.
Open "Configurations" > "Apps" > "Manage Apps" > Permissions > Install via USB.
Disable the switch for your app.
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.