How to check the Android developer tools version from the command line?

做~自己de王妃 提交于 2019-12-18 19:06:35

问题


I'm trying to retrieve the ADT version to generate some system reports.

How can I check the version of the android developer tools installed on the system using the command line?


回答1:


Various parts of the tools save their revision number in files

For example

cat /android/sdk/platform-tools/source.properties | grep Pkg.Revision
cat /android/sdk/tools/source.properties | grep Pkg.Revision

The build tools themselves are placed in versioned directories, so you can find them via

ls /android/sdk/build-tools/


来源:https://stackoverflow.com/questions/24447687/how-to-check-the-android-developer-tools-version-from-the-command-line

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!