![]() ![]() Most Android charging cables are also data cables, but I have encountered some cheap ones that don't support data transfer. Note: it needs to be a USB data cable, not just a charging cable. Connect the device to your development computer with a USB cable appropriate for the device.Run Apps on a Hardware Device for further discussion. ![]() My Fedora systems require no further setup but Ubuntu systems may need some drivers enabled. Linux systems may be ready to go, or may need some additional configuration, depending on the Linux flavor.Windows requires installation of an Android USB driver.Configuration of the development computer depends on the operating system:.Useful in debugging for the screen to stay on, but this is not essential. "Stay awake" has also been checked to cause the screen display to stay on while the phone is charging on the USB cable it is often Note: on devices running versions of Android older than 4.0 this option will instead be found under Settings > Applications > Development. Go to Settings > Developer options and enable the USBĭebugging option. We summarize the basics a more extensive discussion may be found in the AndroidĬonfiguring the phone or tablet may be somewhat device-specific but should be similar to the following example for a Motorola Moto-X phone running Android 4.4.2. Then you should find Developer options displayed under Settings.Ĭonfiguring for Debugging on Actual Devices To make them available on those devices, go to Settings > About phone and tap Build number seven times. ![]() ![]() On Android 4.2 and newer devices, the Developer options required in the following instructions are hidden by default. Let us first describe how to configure for debugging and then how to transfer the executables. Transfer the executable to the device from the development computer. To install and execute programs on hardware you mustĬonfigure the mobile device and computer for hardware debugging, In Configuring an AVD, we describe how to set up a virtual device for debugging, but our ultimate target is for our programs to run on actual hardware. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |