Updating Android SDK from commandline

Android SDK can be updated from command line by following these steps:


  • cd to directory where Android SDK is installed
  • cd <path-to-sdk-installation>
  • execute this command:
  • android update sdk --no-ui

Note: You'll be asked to accept few licenses. Type 'y' or 'n' to accept or reject.

You can see all the available packages using this command:

android list sdk --all

A particular package can be updated and installed using this command:
android update sdk -u --all --filter <number-listed-on-the-list> 

No comments:

Post a Comment

Scheduling Repeating Local Notifications using Alarm Manager

Learn about Scheduling Repeating Local Notifications using Alarm Manager in this post .