Hello programmers, I am new here - and as you can see from the title, I am completely frustrated: I am about to write an Android application, which I haven't done before...
The problem is, that I wanted to write a JUnit-Test for some of my classes - but this stupid Anroid SDK does always lauch this absolutely lame AVD!
So I came up with the idea to move all my non-Android related classes out of the actual Android project into standard Java project. There I can easily test my classes and by adding this standard Java project to the BuildPath of the Android project, I can easily access and use my classes: no error is shown in the IDE - everything is fine.
But if I launch my full application in the AVD, it exits with following exception: NoClassDefFoundError!
What is the reason for this?
Is Android really such a big step back compared to normal Java development?
Please help!!!
EDID:
I found out, how to run a normal test from an Android project.
But why is it not possible to reference to a non-Android project?
Regarding code reuse, this is really big disadvantage!
The problem is, that I wanted to write a JUnit-Test for some of my classes - but this stupid Anroid SDK does always lauch this absolutely lame AVD!

So I came up with the idea to move all my non-Android related classes out of the actual Android project into standard Java project. There I can easily test my classes and by adding this standard Java project to the BuildPath of the Android project, I can easily access and use my classes: no error is shown in the IDE - everything is fine.
But if I launch my full application in the AVD, it exits with following exception: NoClassDefFoundError!
What is the reason for this?

Is Android really such a big step back compared to normal Java development?

Please help!!!
EDID:
I found out, how to run a normal test from an Android project.
But why is it not possible to reference to a non-Android project?
Regarding code reuse, this is really big disadvantage!
