Because the original intention of the design of Adb is to facilitate the debugging of developers, it is necessary to expose some interfaces beyond the permissions. In fact, Adb has a lot of privileges to some extent, even on the latest version of Android. The permission mechanism of the existing Android system is more and more perfect, many operations that hope to bypass the permission management mechanism have been unable to use, but Adb can be implemented. We can find the adb tool in the platform Tools Directory of the android sdk installation directory Therefore, adb has the functions of installing and unloading apk, copying and pushing files, viewing hardware information of devices, viewing resources occupied by applications, executing shell commands on devices, etc It can be seen that the original intention of Android is to use a tool like adb to help developers debug apk faster and better in the process of developing Android applications. The following figure shows the official introduction of ADB by Android The full name of ADB is Android Debug Bridge: Android debugging bridge. The following may be more cumbersome, I try to say simple, please be patient. Therefore, it is necessary to know more about it. Obviously, it's much more complicated for the driver to connect the data line and use the ADB command. The more troublesome way is to get the Android Developer to install and open it with eclipse or other ide s. One use scenario of the latter makes me pay attention to it: when the company customizes the Android system, it needs to see whether the screen is full to verify whether the driver is normal when debugging the screen. The former is used to install the software, while the latter is used to open the software. For example, we know about adb install, but we don't know about adb shell am start. We should at least know that it can do it. In fact, we can learn more about some uncommon scenarios. I believe that all Android developers have used the ADB command, but it's only limited to the installation of application push files and device restart. This article content conformity from the network, welcome reprint.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |