cancel
Showing results for 
Search instead for 
Did you mean: 

Android SUP error

joao_sousa2
Active Contributor
0 Kudos

When starting the SUP101 tutorial for Android I get the exception: java.lang.NoClassDefFoundError: com.sybase.mobile.Application.

It happens in line code:

Application app = Application.getInstance();

This is the code downloaded from Sybase, what am I doing wrong here? Tks.

Accepted Solutions (1)

Accepted Solutions (1)

joao_sousa2
Active Contributor
0 Kudos

Had to include the sup-client.jar in the Libs folder.

Answers (1)

Answers (1)

Former Member
0 Kudos

I've sup-client.jar in my proj's libs folder still its giving the same error. Any other way to resolve it?? Thanks in advance.

joao_sousa2
Active Contributor
0 Kudos

Make sure the folder is not "lib". That was my first mistake.

Also, you added the .jar to the build path correct?

Former Member
0 Kudos

And also, the sup-client.jar should have been added in the AndroidDependencies if you are using the Android SDK platform tool version 16.

With regards

Raja