Android: How to reference a library project from an Eclipse ADT application project? -


i have project compiles throws noclassdeffounderror on classname included sibling library project, when built eclipse. when build project ant file, runs fine.

how tell eclipse build system application's .apk needs copy of .class files library project.

this page... http://developer.android.com/guide/developing/eclipse-adt.html#libraryreference makes sound adding library should "just work" no other steps. , see has updated default.properties necessary link makes ant build work.

despite following steps (my library project listed in android page of application's project properties), eclipse doesn't recognize new classes in editor. did standard eclipse step of adding library java build path. compiler , ide recognize class, app still crashes noclassdeffounderror, after checking library in java build path, order , export.

what step missing?

some background... built eclipse project first. then, in separate directory, used android create project ... parameters create identically configured project. finally, copied ant build.xml , *.properties files eclipse project directory. did same thing library project i'm trying reference.

i have every once in while , not sure causes it. fix this, have link source of library projects. in build path of main project, link "src" folder of library project trying include.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -