5

I'm trying to run my android application on IntelliJ. I created a project from existing source, and I've attached the SDK correctly, everything runs ok until there, but when I try to run, it logs messages saying:

Error: MyClass.class (No such file or directory)

And this happens with all classes I've created.

Any idea of what might be happening? Maybe some settings I must set in the IDE.

Thanks.

rogcg
  • 10,451
  • 20
  • 91
  • 133
  • 2
    Here is first search in Google :) [Search](http://stackoverflow.com/questions/8031013/intelij-idea-under-linux-no-such-file-or-directory-on-main-class) – Eugen Martynov Dec 01 '11 at 21:09

1 Answers1

11

Solved it! In intelliJ go in Settings > Compiler > Java Compiler and in the Use Compiler choose javac in-process (Java6+ only).

rogcg
  • 10,451
  • 20
  • 91
  • 133