I'm getting an error while installing apps on my redmi 2 prime.I am using windows 10.Apps is not installing even after the pop-up in my phone. See image for futher details.
Thanks for any help.
If It's the case happens with many then it's a common thing in Xiaomi's phones.
Here's what you should do:
Go to developer options (Settings-Additional settings-Developer options).
Swipe to the last option at the bottom.
Disable MIUI customization and restart your phone.
Additionally, you can disable verify apps over ADB.
Related
This question already has answers here:
Install app via usb: The device is temporarily restricted
(35 answers)
Closed 5 years ago.
MI Note 4
Android version: 7.0
MIUI Version: 9.0
I'm unable to switch on Install via USB option for debugging purpose. I have tried switching to mobile data and using MI account . Also, tried turning off MIUI optimization. Nothing worked till now.
I always get the error that says "The device is temporarily restricted"
I'm stuck for 2 days now.
Could anyone here help in resolving this?
Note: It was working fine till I updated the device to Nougat. Kindly help if you're using Nougat along with MIUI 9.0
Edit: Using VPN helped.
Try this to turn off Instant Run
Unlock your phone and go to main Settings on your Xiaomi Redmi devices
Scroll down to find About Device and tap on it.
Locate MIUI Version and tap several times on it.
you will get a message "You're now a developer!" on your device screen.
Go back to main Settings.
Run Additional Settings, and tap Developer options to enable it from there.
Scroll down to find USB Debugging option and enable it.
If you need to turn off Instant Run in android studio , go to
File → Settings → Build, Execution, Deployment → Instant Run and uncheck Enable Instant Run.
#Akash Raj
If below link is not working
1- Install app via usb: The device is temporarily restricted
2- http://en.miui.com/thread-544718-1-1.html
Then try to this way because it's working for me.
Connect your Redimi mobile with device hence come to display many option like below image
Select Transfer file now it's working.
My android device is Redmi HM 1S and earlier it used to work earlier. Once I uninstalled the Android Studio and again reinstalled it. Since then, Android Studio is not detecting my device. Please help me fixing this.
Go to developer options in your phone and enable usb debugging.
Once you enable it you can see your see in Android Studio.
For enabling developer option use the steps below.
Step 1: Unlock your phone and go to main Settings on your Xiaomi devices.
Step 2: Scroll down to find About phone and tap on it.
Step 3: Locate Miui Version and tap seven times on it.
After you have activated the developer mode by Clicking on
MIUI version : 5 times
Go to
Additional Settings --> Developer Mode
Turn on USB Debugging and turn off MIUI optimization
your device should be ready for debugging
I never had problems using Android Studio, while debugging directly on device or via emulator. Today after a long time, i tried to install it on my workstation and it looks like there are unidentified problems, that I didn't find anywhere on google ...
Emulator:
I tried 981234912849821 different settings but i can't start an emulation, it worked only ONE time. When i opened it again, it didn't work again D:
The emulator always starts, then crashes saying:
qemu-system-i386.exe has stopped working
I tried to use it with Graphics: Software - GLES 2.0 and this is the result:
I became bored about it, so i tried to directly use my phone and i discovered that android studio wasn't finding it, even by changing type of usb connection ...
Do you have any idea about this problem guys? ^^
PS: Don't flag it as duplicate, I already saw the answers on who has these problems but nothing worked for me :\
You need an ADB driver for your phone installed on your system. Also make sure that under the Developer Settings in Settings of your phone, USB Debugging is enabled.
Note: If you cannot find Developer Settings, just go to > Settings> About Phone> tap on Build Number for 7 times> then just go back to the settings and you'll see the Developer options.
And regarding the emulator, you might want to buff the resolution and the ram of the virtual device and try again.
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:
Open Security Application. (it is one of preinstalled Flyme apps)
Go to Permission
Usb app installation.
Turn off USB installation monitor.
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,
Go to settings>>Additional Settings.
Go to developer options.(if its not there, first goto about phone
and tap on build number 7 times...and start again from step 1)
Click on install via USB.
That's all, you are ready to rock :)
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!
I have had the same problem with XIAO MI.
I went to Settings -> Additional Settings -> Developer options -> Turn On "Install via USB"
Only you can activate this switch if you have a Xiaomi count, create and activate your count, then sign on and turn on install via USB.
In my Redmi4 i had the same issue.
The steps followed to overcome:
(1)
Settings -> About Phone -> tap 7-8 times the MIUI version(to activate Developer Options)
Settings -> Additional settings-> Developer Options -> enable USB
debugging -> install via USB
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.
Redmi Note 7 and pro In developer options Allow USB Debugging, Install Via USB and disable Verify apps over USB
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.
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
When I run the android emulator it gets stuck on the android animation. After I have waited 1 hour it said "Proccess system is not responding". I've tried to delete it and create a new one but it didn't work. I want to start android developing but I'm about to give up because nothing works. Please help.
Thanks in advance.
Try re-installing the avd. or better still you can use an android device an Emulator, which is better and faster. to use an android device follow this steps.
1. Get an android device and a usb cable.
2. Go to settings on your android device and select developer options.
If your device does not have the developer options, goto about phone and click on Build number 7 times., go back to settings (Developer options would have appered by then)
select developer options, turn it on and enable debugging.
3. plug your device into your system.
4. your phone will notify you on access to degug.. Accept.
5. Close any avd you might have opened before..
6. Run your app..
You are good too go...The app should run on your android device..
BUILD NICE APPPPPPPPPSSSSSSSS