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

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.

主站蜘蛛池模板: 象州县| 东乡| 红安县| 古蔺县| 桂阳县| 莫力| 乐清市| 洪湖市| 平和县| 武冈市| 文昌市| 吴旗县| 喀喇沁旗| 红原县| 观塘区| 武安市| 孙吴县| 镇平县| 饶平县| 贵定县| 固始县| 天长市| 永州市| 龙南县| 鸡东县| 桐庐县| 乌拉特后旗| 鱼台县| 仁寿县| 衡山县| 克什克腾旗| 克拉玛依市| 福泉市| 鄱阳县| 西宁市| 凤阳县| 台东县| 陆川县| 肇东市| 洛扎县| 金阳县|