AS异常:Write access is allowed from event dispatch thread only

解决方法:
点击Android Studio的File-Project Structure,然后勾选JDK Location中的Use embedded JDK选项,如下图:

image.png
成功:
image.png

@希望能帮到你!

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/HelloGuoYing/article/details/100692927