I'm trying to connect my android application to a server (PostgreSQL) with JDBC Driver, but i have this error :
java.lang.ClassNotFoundException: org.postgresql.Driver
...
Caused by: java.lang.NoClassDefFoundError: org/postgresql/Driver
... 12 more
Caused by: java.lang.ClassNotFoundException: org.postgresql.Driver
...
java.sql.SQLException: No suitable driver
I tried many things, like add the address of the driver in the Path, but nothing work. I followed this tutorial : http://appliedcoffeetechnology.tumblr.com/post/10657124340 and added the driver JDBC4 (i also tried the JDBC3), in the Build Path.
Everybody can help me ?