as soon as I open up my android studio, after completing the Gradle build, i gain the complying with error "Failed to complete Gradle execution


write access is enabled from occasion dispatch subject only"

what execute I execute ?

Here is the photo of error message




I closed the IDE, turned off the .AndroidStudio3.0 folder in the user home and after i started it again the error disappeared. The principle had likewise deactivated the android support plugin by itself.I exported the settings before deleting the folder to override the defaults quickly after "reinstall".

You are watching: Write access is allowed from event dispatch thread only

After importing all settings the error reappeared for this reason I repeated the delete operation and also then imported the all settings other than the SDK settings and also made that work. It appears some that the settings were changed, preventing the concept from functioning.


I too challenged the same problem, so ns Invalidated cache and also restarted. When restarts friend will uncover the exact same problem, then click Logcat you will find

Please configure Android SDK

then select your configuration what friend used previously as Oreo, Marshmallow, or others...

This functioned for me.(Gradle construct Successfully).



Simple goto record -> project Structure -> SDK location (in your Android Studio),then inspect "Use installed JDK" checkbox and collection JDK location to "path to android studio"\Android Studio\jre.

Navigate together follows:1.Click ~ above "File" then select "Sync task with Gradle Files"

This method worked for me.

After spending 2 hours, i am able to solve this problem

Open Logcat -> it reflects "Please Configure Android SDK." Tapping Configure , it will open project structure, set source and also target compatibility -> OK.

it will build gradle successfully and also make project runnable.

For me project Structure ->JDK ar -> examine on "Use installed JDK" or use your very own JDKThis an approach worked for me

Thanks because that contributing an answer to ridge Overflow!

Please be certain to answer the question. Carry out details and share her research!

But avoid

Asking for help, clarification, or responding to various other answers.Making statements based on opinion; back them increase with references or personal experience.

See more: Convert Currency, Papua New Guinea Kina To Us Dollar, 1 Usd To Pgk

To find out more, see our advice on writing an excellent answers.

article Your answer Discard

By click “Post her Answer”, you agree to our regards to service, privacy policy and cookie policy

Not the prize you're feather for? Browse various other questions tagged android android-studio gradle or questioning your very own question.

Error retrieving parent for item: No source found the matches the given name after ~ upgrading come AppCompat v23
site style / logo design © 2021 ridge Exchange Inc; user contributions licensed under cc by-sa. Rev2021.9.10.40187

your privacy

By clicking “Accept all cookies”, you agree stack Exchange have the right to store cookie on your maker and disclose details in accordance v our Cookie Policy.