The author is doing the development of system APP, using the Computer of Ubuntu system. Ubuntu pops up command line shortcut keys: CTRL + Alt +T

When the command is unique, press the TAB key to complete the command.

ADB install XXX. Apk install XXX. Apk on the emulator < local path >< remote path > Upload local files to the emulator 5. Adb pull < remote path >< local path > Download files from the emulator to the local location 6. Adb kill-server Kill adb process 7 Adb shell enter the Linux shell command line 9. Adb mode exit adb 10. After remount 11 need to mount the adb, adb reboot system restart command 12, view the Activity on the top of the stack information Linux computer: The adb shell dumpsys activity | grep “mFocusedActivity” Windows PC: Adb shell dumpsys activity | findstr searches “mFocusedActivity” see 13, low cover installation and mandatory version: adb install – r – d XXX. Apk

CD enter directory rm delete file ls list all files

First of all, we need to use the third party software root for our device or directly develop root permission (development board System). Then we need to delete the original APK, enter ADB root in the command window to get root permission, and use ADB remoun to mount it again. Enter the Linux shell command line through ADB shell, enter our installation directory through CD /system/app/XXXX, and then directly remove the original system app through rm XXXX.apk. To exit the Linux shell command line, use ADB push to install the APK path (PC path) to cover the mobile phone directory, and push the generated APK installation package to the corresponding directory of our mobile phone. Finally, use ADB reboot to restart the mobile phone directly. Our installed APP will work normally after we restart.

* * * * * * * * * * * * * * * * * * * * 2. Run the following commands to restart the OPERATING system: ADB shell stop and ADB shell start

We tend to focus on the activities at the top of the stack: HierarchyViewer shortcuts, which are useful for real-world development, as activities can be tricky to find if the project is large.

Check the CPU ABI information: Java code String CPU_ABI = Android.os.build. CPU_ABI;

Command line mode: 1, at the command line input “adbshell” 2, after entering the shell, and then input “cat/system/build. The prop | grep” product “” actually, equipment information, mainly in”/system/build. Prop “file, You can view it by using the “cat” command.

If you feel that my words are helpful to you, welcome to pay attention to my public number:

My group welcomes everyone to come in and discuss all kinds of technical and non-technical topics. If you are interested, please add my wechat huannan88 and I will take you into our group.