有时候需要命令行更新tools, build-tool,platform,support包等。
echo y | ./tools/android -s update sdk --no-ui --filter platform-tools,tools -a
echo y | ./tools/android -s update sdk --no-ui --filter extra-android-m2repository,extra-android-support,extra-google-google_play_services,extra-google-m2repository -a
echo y | ./tools/android -s update sdk --no-ui --filter build-tools-25.0.0,android-25 -a