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 Setting Up an Android Development Environment for Windows

Cant open Android studio

This is what happens when I click on the icon:

Internal error. Please report to http://code.google.com/p/android/issues

java.lang.NoClassDefFoundError: com/intellij/openapi/util/io/FileUtilRt at com.intellij.idea.Main.installPatch(Main.java:142) at com.intellij.idea.Main.main(Main.java:72) Caused by: java.lang.ClassNotFoundException: com.intellij.openapi.util.io.FileUtilRt at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 2 more

2015-10-09 00:23:06 Exception: java.lang.NoClassDefFoundError: com/intellij/openapi/util/io/FileUtilRt

Then it says on another window " Error invoking main method"

how can i fix this

thanks

1 Answer

You on Windows I pressume?

2 things you can try:

  1. You open the studio.exe instead of studio64.exe

  2. You install the 32bit JDK

As I know this is a known issue.

Try it and let us know :)