Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Simple Android App (2014) Getting Started with Android Running the Fun Facts Project

Gradle 'FunFacts3' project refresh failed

I get this error when launch the program and can't run it, also I don't get the android device preview on the right.

I also get this: 21:49:32 Gradle build finished in 5 sec 21:50:12 Gradle build finished in 3 sec 21:51:34 Throwable Read access is allowed from event dispatch thread or inside read-action only (see com.intellij.openapi.application.Application.runReadAction()) Details: Current thread: Thread[Alarm pool(own),3,main] 155872534 Our dispatch thread:Thread[AWT-EventQueue-1 0.8.2#AI-135.1267975, eap:true [WriteAccessToken],6,main] 1103615339 SystemEventQueueThread: Thread[AWT-EventQueue-1 0.8.2#AI-135.1267975, eap:true [WriteAccessToken],6,main] 1103615339 21:56:19 Gradle build finished in 1 sec

1 Answer

Yeah I'm having the same problem with the Gradle project refresh failed.