cancel
Showing results for 
Search instead for 
Did you mean: 

Android class not found

Former Member
0 Kudos

I've worked through the android sample app and have encountered a baffleing problem.

When I run the app I get an error on this line:

Application app = Application.getInstance();

The error is NoClassDefFound and the class is com.sybase.mobile.Application.  I've gone through the example description with a fine toothed comb and I'm sure I haven't left out a step.  Also, if I delete the line import com.sybase.mobile.Application and use organize imports, the SDK finds the correct import.  I assume that means the class is in the class path.

What am I missing?  I'm at a loss.

Ross

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The tutorial suggests the Sybase jars be added as external but when I copied them into the project directory structure, the program worked.

Answers (0)