Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ MyClass.class (No such file or directory) when running application

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.

like image 858
rogcg Avatar asked Dec 01 '11 20:12

rogcg


1 Answers

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

like image 77
rogcg Avatar answered Oct 05 '22 13:10

rogcg