Steps for MIUI 9 and Above:
Settings -> Additional Settings -> Developer options ->
-
Turn off “MIUI optimization” and Restart
-
Turn On “USB Debugging”
-
Turn On “Install via USB”
MTP(Media Transfer Protocol) is the default mode.
Works even in MTP in some cases -
Set USB Configuration to Charging
More Related Contents:
- Android Studio doesn’t see device [closed]
- Huawei, logcat not showing the log for my app?
- “unable to locate adb” using Android Studio [duplicate]
- android studio adb Syntax error: “)” unexpected
- unable to execute adb in Ubuntu. Downloaded file is meant for x86-64 while I have i686 [duplicate]
- Android Studio doesn’t recognize my device
- Error initializing ADB: Unable to create Debug Bridge: Unable to start ADB server
- Android Studio – ADB Error – “…device unauthorized. Please check the confirmation dialog on your device.”
- Not Able To Debug App In Android Studio
- Android device is not connected to USB for debugging (Android studio)
- ADB not responding. You can wait more,or kill “adb.exe” process manually and click ‘Restart’
- Android Studio error: cannot connect to daemon
- ADB Shell Input Events
- Error:Execution failed for task ‘:app:transformClassesWithDexForDebug’
- How to Add Stacktrace or debug Option when Building Android Studio Project
- Using Build Flavors – Structuring source folders and build.gradle correctly
- ‘adb’ is not recognized as an internal or external command, operable program or batch file
- gradle – library duplicates in dependencies
- Android Studio – XML Editor autocomplete not working with support libraries
- Android ADB device offline, can’t issue commands
- How do you open an Android Studio project in Eclipse?
- Proguard ignores config file of library
- Android Studio: Application Installation Failed
- How to use the ProGuard in Android Studio?
- Android studio 1.0.2 not building app:mergeDebugResources error
- Emulator: Warning: Quick Boot / Snapshots not supported on this machine
- Android Studio: Android Manifest doesn’t exists or has incorrect root tag
- Difference between app-debug.apk and app-debug-unaligned.apk
- How to push android project to github with this error is given below?
- Build variants in Gradle for a Library Project in Android