執行 sdkmanager 來更新 Android SDK 時,老是出現〝Warning: File /root/.android/repositories.cfg could not be loaded.〞的訊息。
[root@Core-i7 ~]# /opt/android-sdk/tools/bin/sdkmanager --list
Warning: File /root/.android/repositories.cfg could not be loaded.
Installed packages:
Path | | | Version | | | Description | | | Location | |
------- | | | ------- | | | ------- | | | ------- | |
build-tools;25.0.3 | | | 25.0.3 | | | Android SDK Build-Tools 25.0.3 | | | build-tools/25.0.3/ | |
emulator | | | 26.0.3 | | | Android Emulator | | | emulator/ | |
‧ ‧ ‧ ‧ ‧ ‧ ‧ ‧ ‧ ‧
雖然不影響執行結果(更新、列出等功能),每次執行都看到覺得有些礙眼,想讓它消失掉。