I have found several posts about people who have Project References
working fine and people who don't.  I haven't found any solutions
though.

I am trying to use a class that is in a different project but I have
not been succesful.  I have tried using "Project References" to get
Android project A to reference Android project B which has the class I
want to use.  Eclipse couldn't find the class so I assume that isn't
enough.
I then added Project B to Project A's build path via the "Java Build
Path" control in Project A's properties.  Eclipse could then find the
class but I get a NoClassDefFoundError exception when I run Project A
in the emulator.

I have also tried rearranging the build order in "Order and Export".
I even tried adding the class folder of Project B's .class file to
Project A's Libraries.

I feel like there is something simple right in front of me that I am
overlooking but I haven't found it.  Does anyone have any
recomendations for project references in Eclipse?

Eclipse version:  Eclipse IDE for Java Developers       1.2.1.20090918-0703
Android SDK version: Android 2.0

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to