Gradle error: Write access is allowed from event dispatch thread only in Android Studio

前端 未结 5 1382

After updating Android Studio to version 2.2 (on Windows 10) and somehow next morning I received such error when gradle built on any project:

Write a

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-12 17:24

    So the problem was concluded in that Android Studio conflicted with my installed JDK version, so it was resolved when I checked JDK location (File → Project Structure → SDK Location), ticked 'Use embedded JDK' checkbox and set JDK location to 'path to Android Studio'\Android Studio\jre

提交回复
热议问题