Android studio Navigation drawer showing dark screen on design View

后端 未结 1 533
孤独总比滥情好
孤独总比滥情好 2021-01-28 07:52

I installed Android studio 3.1.3 and it\'s only showing a dark screen

build.gradle:

    apply plugin: \'com.android.application\'

android {
            


        
相关标签:
1条回答
  • 2021-01-28 08:20

    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.

    0 讨论(0)
提交回复
热议问题