I’m currently working on an Android app using Eclipse on a Mac OSx. I tried integrating Gorilla-Logic monkey talk SDK into my app for testing and since I did that, the app doesn’t want to debug correctly. every time I click the Run or Debug buttons, the IDE claims I don’t have a main type.
from what I read in the various Internet discussions on the web and here on SO, I saw that this is caused usually when writing in Scala and having code outside a package, but since I’m not running Scala but an Android project, I don’t have any java code outside a package.
so why is this happening to me?!
exporting the project as an .apk file has no problems but takes a long time and I don’t want to repeat that every time I want to run a project.
any thoughts?
Same problem for me. I was able to fix it by clicking the down arrow next to the run button in eclipse, and adding a run configuration. But every time I run my app I need to click the down arrow and the configuration, instead of just clicking on the run button. It’s an extra step. I’m also on OS X. This works fine on my PC.
I’d call this an acceptable workaround, but not a fix.