官术网_书友最值得收藏!

Setting up your physical Android device for development

The following are the three main steps that need to be taken in order to enable your Android Device for development:

  1. Enable Developer options on your specific Android device
  2. Enable USB debugging
  3. Provide your computer with the necessary trust credentials with the installed IDE via secure USB debugging. (devices with Android 4.4.2)

Enabling Developer options

Depending on your device, this might vary slightly, but as from Android 4.2 and higher, the Developer options screen is hidden by default.

To enable it, navigate to Settings | About phone and click on the Build number seven times. You will find Developer options enabled when you return to the previous screen.

Enabling USB debugging

USB debugging enables the IDE to communicate with the device via the USB port. This can be activated after enabling Developer options and is done by checking the USB debugging using the following this path:

SettingsDeveloper OptionsDebuggingUSB debugging

Trusting a computer with installed IDE using secure USB debugging (devices with Android 4.4.2)

You have to accept the RSA key on your phone or tablet before anything can flow between the device via the Android Debug Bridge (ADB). This is done by connecting the device to the computer via USB, which triggers a notification entitled Enable USB Debugging?

Check off Always allow from this Computer and click on OK.

主站蜘蛛池模板: 宁夏| 昆山市| 连城县| 越西县| 小金县| 垫江县| 福海县| 高唐县| 邛崃市| 泽普县| 南昌县| 潞西市| 汤阴县| 水富县| 平湖市| 新邵县| 甘德县| 长泰县| 兴国县| 皋兰县| 贵德县| 万山特区| 安顺市| 潞城市| 贡觉县| 崇仁县| 蛟河市| 华亭县| 虎林市| 巨野县| 前郭尔| 耒阳市| 乌苏市| 广饶县| 鹤壁市| 盈江县| 五台县| 广水市| 清徐县| 环江| 三门峡市|