Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 968
Joan P.S Avatar asked Jun 27 '14 08:06

Joan P.S


1 Answers

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/
like image 200
zmarties Avatar answered Oct 22 '22 03:10

zmarties