Android studio is not showing Activity_main.xml

439 views Asked by At

Android studio is not showing Activity_main.xml. Compiling produces the following output:

Gradle project sync failed, Unknown host 'repo.maven.apache.org you may need to adjust the proxy settings in Gradle.

enter image description here

1

There are 1 answers

0
return 0 On
  1. Ensure you're connected to the internet
  2. Disable gradle offline mode
  3. Check your firewall and proxy settings