Android Studio learning - connecting real test teaching

Android Studio

Original link https://blog.csdn.net/weixin_44304387/article/details/99213012
real test will be much faster than the AVD (Android Virtual Device abbreviation of) response rate, which is not very good on the computer configuration party for many students Very friendly.
Andrews connection with the real machine pc computer end, I chose a relatively simple usb connection, you need to set the ADB (Android Debug Bridge), this bridge is in debug platform-tools inside the program adb.exe, when the program is first run not configured, it may be better to download, you can remind download platform, while mobile terminal set Developer options <open usb debugging <run will be able to choose on the Android studio. (Open Developer options on mobile phones, different phones may have different operation, you can own Baidu, but found that many of them are opening the settings on the phone <system version, the continuous click five times, and several times, the phone will automatically remind end how many times.)

Set adb installed

To add a jdk environment variables and path variables.
First in the System Variables New on
the back row E: \ Android SDK is my path (see how their own path, can be viewed on Android Studio, find the settings in the main menu, then click the Android SDK, you'll see location) everyone is placed on the computer is different, generally speaking, at the time of installation download is not recommended on the C drive, to prevent back trouble.
Do not miss the new time ";" pay attention to the sign is in English.
Here Insert Picture Description
In the path New on this
Here Insert Picture Description
good set of environment variables above, directly cmd command line, type adb, if not being given, there is something similar to the following settings successful. Then you can connect the phone to see your first Android application.
Here Insert Picture Description

Guess you like

Origin www.cnblogs.com/yhycoder/p/11880112.html