This will make Ionic Development very easy and fast.
Also Turn OFF “ Turn on MIUI optimization” as sometimes it does not allow to install apps on a mobile device.Īfter following the above options you can easily debug your applications directly in the real device using a USB cable. When prompted, click 'OK' to download the zip file. Open a web browser and visit the following link. Now that you've enabled USB debugging, it's time to download and install ADB on your Windows machine. Step 4) Under “ Developer options” Turn ON “ USB debugging” and “ Install via USB” options. Install Android Debug Bridge (ADB) on Windows. Step 3) About procedure will add “ Developer options” row under “ Additional settings” Step 2) Now Tap on “ MIUI version” row for about 10 times then, a toast will show up “You are now a developer” Step 1) Goto settings then Tap on “ About phone” Once inside the app drawer, tap the 'Settings' icon. To disable it, simply slide the switch at the top of the screen to OFF. On the home screen, tap or swipe upward from the triangle to access the app drawer.
Leaving USB debugging mode enabled all the time is kind of a security risk. On the Kindle Fire HD, you can enable USB Debugging by pulling down the notifications bar, tapping More > Security > Enable ADB. I have Mi’s Xiomi Note 3 mobile currently having latest MIUI 10 And it’s Cool ? Kindle Fire always has USB Debugging mode on.
So next we will get to knowĪlso Check: How to Debug Ionic/ Hybrid Application in Chrome Browser in 2 Steps! How to Enable USB Debugging in Android Device?
USB Debugging enables a mobile device to be used for debugging and installing of APK files through a USB wire.
This happens when USB Debugging is not enabled in a device. We only need to run the following command in project root in CMD for device debugging $ ionic cordova run android -deviceīut this command will give an error if CMD does not find any attached device. After connecting device using a USB cable, we can directly install and debug an application in the phone like as we do use Android Studio environment. So it’s better to install debug version of our APK file directly in a mobile device connected to our Computer. This will surely slow down the development process if the testing and debug is repeated many times. Check the full guide to enable USB debugging on different Android systems. Using USB accessories with iOS 11.4.1 and later- Review the information and apply the steps provided in this article. Enable USB debugging can help you transfer data and install application on your Android phone. I see that youre having some type of difficulty connecting a USB accessory to your iPhone, and Im happy to help. But sometimes to test some of the Ionic Native plugins need a real device, for that we may create APK using $ ionic cordova build android and then we can transfer the generated an APK in the phone. Question: Q: How to enable usb debugging. We can open code, create APK packages, install plugins etc from CMD itself. Development in the Ionic framework is mostly handled through CMD Command prompt.