问题
I just started with Android development and installed Android Studio 1.4.1. Everything installed correctly and no errors were shown.
When I was just about to write the first lines of code Android Studio started to act really weird, like when I moved my mouse over the opened files it started to render/draw the code all over (Example, Example 2).
The weird thing is, this happens all the time after I ran Android Studio for like 2-3 minutes.
Does anyone have an idea why this is happening?
回答1:
Try adding "sun.java2d.d3d=false" to "Android Studio\bin\idea.properties". This worked for me.
See here: Android Studio is having a strange "cascading display" glitch?
回答2:
I don't know if this is still relevant but I fixed by disabling the "animate windows" Option in the setting:
回答3:
Try
File -> Invalidate Cahses/Restart
hope it will helps or you can try another way like this
https://stackoverflow.com/a/58214439/11404883
来源:https://stackoverflow.com/questions/33780345/android-studio-ide-weird-behavior-graphic-bug