Closed ibinti closed 8 years ago
Version 1.0.9, this happens when a new project is created from the templates. Existing projects compile without a complaint.
duplicate #33
is this gradle related?
If you don't using Gradle and moving your project form RoboVM just rename robovm.xml to bugvm.xml
@blady214 It would be much appreciated if you could share some more details on how you compile the app without Gradle? Are you able to compile with other method?
I am not sure if I don't using Gradle but I don't hava a build.gradle file in my project but I've got robovm.xml instead of and I don't set up the gradle. I am able to build my project in RoboVM properly.
With 1.1.0-SNAPSHOT, this happens when a new project is created from the templates and uses Gradle build system. Interestingly, if Maven build system is chosen, the newly created java project actually compiles and runs on simulator as well as on device.
[ERROR] Couldn't compile app com.bugvm.compiler.CompilerException: Main class com.mycompany.myapp.Main not found at com.bugvm.compiler.AppCompiler.getRootClasses(AppCompiler.java:268) at com.bugvm.compiler.AppCompiler.compile(AppCompiler.java:450) at com.bugvm.compiler.AppCompiler.build(AppCompiler.java:767) at com.bugvm.idea.compilation.BugVmCompilerThread.doCompile(BugVmCompilerThread.java:60) at com.bugvm.idea.compilation.BugVmCompilerThread.run(BugVmCompilerThread.java:66)