Update Android SDK Platform Tools via Command line I want to write a script to update the Android SDK platform tools and I need the command if available to run in order to achieve this. What I have found is that I can use the Android command under the /tools directory to update the software (images, sources, etc.), but nothing to update the tools themselves.

The guide on Factory Images for Nexus Devices says that I must be sure I have the latest tools


  Be sure that you have the latest version of the Android SDK Platform-tools from the SDK Manager.


So, is it possible? If it is, how to do that?
Use of android tool is deprecated; instead use sdkmanager:

 androidsdk/tools/bin/sdkmanager --update


https://developer.android.com/studio/command-line/sdkmanager.html