简体   繁体   中英

Can't click on XML preview in Android Studio

Occasionally when I am using Android Studio the XML preview that appears on the right hand side of the window seems to lock. It isn't freezing because it updates like normal any time I make an edit the the XML. I just can't click on anything inside it.

Like I said, this happens occasionally and will randomly start working again and I have no idea what I did to change it.

Currently using Android Studio 3.1.4

Try this:

  • First I had the same problem. Then I chose a different device. I saw the error window with the ability to click "rebuild and clean your project".

  • Second Invalidate Caches/Restart

it worked. Try it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM