Gradle sync failed: EventQueue.isDispatchThread()=false Toolkit.getEventQueue()...

解决Android Studio一直sync打转并报错:出现Gradle sync failed: EventQueue.isDispatchThread()=false Toolkit.getEventQueue()

File → Settings → Experimental → Gradle → Only sync the active variant 按着这个设置把Only sync the active variant 打钩去掉即可

Gradle sync failed: EventQueue.isDispatchThread()=false Toolkit.getEventQueue()..._第1张图片

你可能感兴趣的:(开发工具(IDEA,Android,Studio),sync,failed,android,studio,项目编译失败)