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

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.

主站蜘蛛池模板: 通渭县| 德令哈市| 新田县| 安庆市| 集贤县| 鄂托克前旗| 平和县| 资讯 | 全椒县| 柘荣县| 芒康县| 绥化市| 鹤壁市| 井研县| 安多县| 峨边| 汤阴县| 乐山市| 松桃| 绍兴县| 玉林市| 河西区| 鄂托克旗| 潮安县| 历史| 宜兰市| 广河县| 合江县| 曲阜市| 夏河县| 丹棱县| 丰顺县| 江安县| 会昌县| 凤台县| 安国市| 玛纳斯县| 聂拉木县| 田阳县| 福清市| 南宫市|