Search code examples
android-studioconnectivity

Can't Import Any Code Samples With Android Studio 3.1.4


I am trying to simply open a code sample with Android Studio as follows:

enter image description here

But when I click on "Import an Android code sample," this happens:

enter image description here

I am testing this problem and writing this question right now, so if you're reading this, then that is proof that I'm online, so please don't suggest any connection testing, modem resetting, etc.

I have already tried:

  • Verifying I am online
  • Resetting my modem, router, etc.
  • Restarting computer (Macbook)
  • Restarting Android Studio
  • Selecting "open code sample" from different menus.

Is anyone else experiencing this problem right now... or had any past experience with it?

Thank You!


Solution

  • This has been raised as a Google Issue here and is now resolved on the backend:

    Android studio 3.1.4 - failed to download samples index (when trying to download google code samples)

    https://issuetracker.google.com/issues/115837589