-3

100% new to android. Installed it and was trying to run the basic hello world program from the tutorial https://developer.android.com/training/basics/firstapp/creating-project.

However when I go to activity_mail.xml and then to the design view, it doesn't allow me to see it and it says "design editor not available until a sucesful build".

It also says "Cause: unable to find valid certification path to requested target"

Here are some screenshots. It also says something about dependencies stuff

enter image description here

enter image description here

I have seen somehow similar questions, but the answers don't apply to my case. Also here are my versions: MAC OS X El capitan Android Studio 3.1.3 . May all this have something to do with the version of Android Studio I'm using?

dev74
  • 11
  • 5

1 Answers1

0

you can add this to your gradle

and it will work

build gradle(project): maven {
        url "https://maven.google.com"
    }