Android Studio cannot open xml layout

suddenly my android studio is corrupted and cannot open the xml layout. When I double-click on the XML layout, it does not appear in the code editor, and also when I drag and drop the XML file from the project path, and Android Studio cannot show it, please help me, thanks!

enter image description here

+5
source share
9 answers

Go to plugins -> Android supportand disable it. Restart Android studio and re-enable the plugin. Worked for me.

+4
source

Reboot your Android studio, if it does not work, reboot the computer.

+1
source

. , XML ( ), . , .

, AS .

+1

, Proguard . . gradle.

debug 
{
    minifyEnabled false
}

, -.

+1

Gradle.

, Android, .
Gradle .

Refresh all Gradle project action icon

+1

, gradle-wrapper.properties , URL

distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-milestone-1-all.zip
0

"" → " /" → " "

0

. , - , , 8- 30 seconds-- , gradle . , BLAM, Android Studio , , GUI, , , 8- ASCII, . , "" IDE.

0

. , .

-1

Source: https://habr.com/ru/post/1615478/


All Articles