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

1

14

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?

Complicity answered 27/6, 2014 at 8:50 Comment(1)
The formal name seems to be "Android SDK Tools"Plyler
E
17

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/
Endemic answered 27/6, 2014 at 9:19 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.