I installed Android studio 3.1.3 and it\'s only showing a dark screen
build.gradle:
apply plugin: \'com.android.application\'
android {
Make sure you are connected to a good network
Check this checkbox
Goto >file -> other settings -> Under build, execution, and deployment -> you will see Gradle. uncheck the checkbox offline work
Try adding Google maven repository into app's build.gradle file:
repositories {
maven { url "https://maven.google.com" }
}
rebuild your project.
If step 1 won't work, remove gradle from your project root folder and rebuild your project again.