LinuxシステムAndroid SDKダウンロードバージョン、Warning:File/root/.android/repositories.cfg coul
Linux CentOS 7システムAndroid SDKはandroid update sdk--no-uiを実行し、Warning:File/root/.android/repositories.cfg coulエラー内容:
エラーの原因は/root/.Android/ディレクトリの下にrepositoriesが欠けています.cfgファイル 1.repositoriesを作成します.cfgファイル 2.運転再開
[root@compile-server bin]# android update sdk --no-ui
*************************************************************************
The "android" command is deprecated.
For manual SDK, AVD, and project management, please use Android Studio.
For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
*************************************************************************
"android" SDK commands can be translated to sdkmanager commands on a best-effort basis.
Continue? (This prompt can be suppressed with the --use-sdk-wrapper command-line argument
or by setting the USE_SDK_WRAPPER environment variable) [y/N]: y
Running /home/test/android-sdk-linux/tools/bin/sdkmanager --update
Warning: File /root/.android/repositories.cfg could not be loaded.
done
エラーの原因は/root/.Android/ディレクトリの下にrepositoriesが欠けています.cfgファイル
touch /root/.android/repositories.cfg
[root@compile-server bin]# android update sdk --no-ui
*************************************************************************
The "android" command is deprecated.
For manual SDK, AVD, and project management, please use Android Studio.
For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
*************************************************************************
"android" SDK commands can be translated to sdkmanager commands on a best-effort basis.
Continue? (This prompt can be suppressed with the --use-sdk-wrapper command-line argument
or by setting the USE_SDK_WRAPPER environment variable) [y/N]: y
Running /home/test/android-sdk-linux/tools/bin/sdkmanager --update
done