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

后端 未结 1 1896
你的背包
你的背包 2020-12-17 17:26

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

相关标签:
1条回答
  • 2020-12-17 18:18

    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/
    
    0 讨论(0)
提交回复
热议问题