通过命令行安装Android的sdk组件

http://stackoverflow.com/questions/17963508/how-to-install-android-sdk-build-tools-on-the-command-line

androidlistsdk--all

androidupdatesdk-u-a-t<packageno.>

androidupdatesdk-u-a-t1,2,3,4,..,n

google支持库的协议需要同意

your_sdk_location/tools/bin/sdkmanager"extras;m2repository;com;android;support;constraint;constraint-layout;1.0.2"

卸载Java

rpm-qa|grepjava

rpmremovejava-111