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

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.

主站蜘蛛池模板: 县级市| 阳信县| 秦皇岛市| 华蓥市| 彩票| 富蕴县| 高阳县| 忻州市| 黑山县| 余庆县| 团风县| 郯城县| 无极县| 定结县| 洛阳市| 瑞昌市| 阜阳市| 定日县| 佳木斯市| 河北省| 澜沧| 衡阳市| 卓资县| 获嘉县| 新津县| 山西省| 勃利县| 伊川县| 樟树市| 烟台市| 北碚区| 南安市| 邻水| 武鸣县| 化州市| 师宗县| 游戏| 岢岚县| 青铜峡市| 南宫市| 河津市|