Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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


1 Answer

Nejc Vukovic
Nejc Vukovic
Full Stack JavaScript Techdegree Student 36,386 Points

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 :)