JDK and JRE downloads
New system variables: JAVA_HOME, variable value: C: \ Program Files \ Java \ jdk1.8.0_161
New system variables: CLASSPATH, the variable value:;.% JAVA_HOME% \ lib \ dt.jar;% JAVA_HOME% \ lib \ tools.jar;
Configuration environment variable in the path: C: \ Program Files \ Java \ jdk1.8.0_161 \ bin; C: \ Program Files \ Java \ jdk1.8.0_161 \ jre \ bin;
Download Android SDK
New system variables: ANDROID_HOME, the variable value: C: \ Users \ wch \ AppData \ Local \ Android \ Sdk
Increase environmental variables in the path;% ANDROID_HOME% \ platform-tools;% ANDROID_HOME% \ tools
Replaced with the following three sdk inside out inside the simulator
This simulator will be the following
Nox_adb.exe modify the same name and replaced with adb.exe
Turn on developer mode simulator Settings -> About tablet -> occurs more than a few clicks open developer mode
cmd to open a command line, type adb devices to view current device
Adb -s command-line input device name shell, into the underlying command-line simulator
Developer mode is turned on for the '#' symbol, not open for the '$' symbol
Way to install apk
adb -s device install apk path name
Uninstall apk way
In turn enter the following command:
adb -s shell device name
cd /data/app
ls
View installed apk
Com ..... remember the following names behind this package does not need -1
adb -s device name uninstall package name
Coupling device
adb connect the device name
View equipment installed package
adb shell pm list package
Transfer files from your computer
adb push E:\OFFICE_MAKEDOWN_SCRIPT_XMIND_ZIP-RAR\txt\账号密码.txt /sdcard
打开模拟器里面的文件管理查看
从模拟器传文件到电脑
adb pull /sdcard/... E:\....
命令行截图
adb shell screencap /sdcard/test.png