的IntelliJ MyClass.class(没有这样的文件或目录)运行时,应用程序 [英] IntelliJ MyClass.class (No such file or directory) when running application
本文介绍了的IntelliJ MyClass.class(没有这样的文件或目录)运行时,应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图运行我在的IntelliJ Android应用程序。我从现有源创建的项目,我已经把它贴在正确的SDK,一切运行正常,直到有,但是当我尝试运行,它记录的消息说:
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.
中可能发生的事你知道吗?也许一些设置,我必须在IDE中设置。
Any idea of what might be happening? Maybe some settings I must set in the IDE.
感谢。
推荐答案
解决了这个问题!在的IntelliJ进去设置>编译器> Java编译器和使用编译器选择的javac过程中的(+的Java6只)。
Solved it! In intelliJ go in Settings > Compiler > Java Compiler and in the Use Compiler choose javac in-process (Java6+ only).
这篇关于的IntelliJ MyClass.class(没有这样的文件或目录)运行时,应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文