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

点击菜单“File-->Project Structure-->SDK Location,勾选JDK Location下边的Use embedded JDK(recommended),然后点击OK,就处理成功啦。

第一步:

Android异常:Write access is allowed from event dispatch thread only_第1张图片
image.png

第二步:


Android异常:Write access is allowed from event dispatch thread only_第2张图片
image.png

第三步:

Android异常:Write access is allowed from event dispatch thread only_第3张图片
image.png

你可能感兴趣的:(Android异常:Write access is allowed from event dispatch thread only)