Lose Main class when compiling for the Android Platform

45 views
Skip to first unread message

bman

unread,
May 4, 2012, 6:12:31 PM5/4/12
to codenameone...@googlegroups.com
This is the second time this has happened.  The first time it did I had to recreate the whole project.  Regardless, after I attempted to compile the project and then run it in the IDE, I get the following error: "com.codename1.impl.javase.Simulator class wasn't found in project". I think this the result of attempting to compile the project.  Anyway, why is this happening, and how do I fix it.

Many thanks.

Shai Almog

unread,
May 5, 2012, 12:46:45 AM5/5/12
to codenameone...@googlegroups.com
I'm assuming you changed the classpath/build.xml and packaged into the distributions classes that shouldn't be in it. If you will explain what you changed about the project I can better help you with what went wrong.

bman

unread,
May 5, 2012, 8:04:31 PM5/5/12
to codenameone...@googlegroups.com
Actually I didn't change anything, or, at least, I don't think I did. But when I restarted the IDE the problem went away. Strange.  I'll post back if the problem happens again.  Many thanks for the input.

Brian

hesham mohamed

unread,
Nov 16, 2016, 7:59:15 AM11/16/16
to CodenameOne Discussions
i have the same issue , and i restarted the IDE and whole machine and still same issue :( 

any idea how to fix it?

Shai Almog

unread,
Nov 16, 2016, 10:26:28 PM11/16/16
to CodenameOne Discussions

hesham mohamed

unread,
Nov 17, 2016, 8:12:52 AM11/17/16
to CodenameOne Discussions
Hi Shai
I updated the question there, my project properties looks correct although i am facing this issue :( ,

On Thursday, November 17, 2016 at 6:26:28 AM UTC+3, Shai Almog wrote:

Shai Almog

unread,
Nov 17, 2016, 11:56:33 PM11/17/16
to CodenameOne Discussions
If I understand correctly the issue was resolved, right?

hesham mohamed

unread,
Nov 18, 2016, 2:02:13 AM11/18/16
to CodenameOne Discussions
No, i mean my Project properties are correct and same as you shared and issue is still there !!
Reply all
Reply to author
Forward
0 new messages