I just switched the way my Android project is being built and non of
my unit tests work any more...I get errors like

WARN/dalvikvm(575): VFY: unable to resolve static field X in .....
WARN/dalvikvm(575): VFY: unable to find class referenced in signature

These errors only come from my Unit Tests, where classes defined in it
can't even see other classes defined in the unit test.

Before each project had it's own directory with copies of the 3rd
party jar files. I've read around that Dex does weird things with
references but haven't been able to figure out how to fix this
problem. Is there a better way to do this? I would love to see an
example of a large Android workspace where there are multiple
projects, jar references, etc...

Is it possible to fix this with an Order/Export tweak ?

The project is structured like this:

    * Eclipse Workspace (PROJECT_HOME classpath variable)
    * lib
          o 3rd-party jars
          o android.jar
    * Java Project A
          o Looks in PROJECT_HOME
    * Java Project B
          o Looks in PROJECT_HOME
          o Depends on project A
    * Android Project
          o Depends on A & B
          o Looks in PROJECT_HOME
    * Android Test Project
          o Depends on A , B, Android Project
          o Looks in PROJECT_HOME

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to