问题
I have tried both on a windows 10 machine and Ubuntu (18.04) with the latest release of Android studio I am unable to download Google Code Samples.
the error states 'Failed to download samples index, please check your connection and try again'.
the fix suggested for an earlier instance of this issue from 2015 to change proxy settings from 'no proxy' to 'auto detected' doesn't seem to work with the latest (3.1.4) release of Android Studio.
Update: Apparently this is an active issue at the backend and currently WIP Please check below link https://issuetracker.google.com/issues/115837589
FWIW, I'm based in Australia.
回答1:
Based in France, same problem (mac os x)
来源:https://stackoverflow.com/questions/52365535/android-studio-3-1-4-failed-to-download-samples-index-when-trying-to-download