Results 1 to 3 of 3
- 05-16-2012, 08:31 AM #1
Member
- Join Date
- Jul 2010
- Posts
- 10
- Rep Power
- 0
Problem in integrating Android application with Postgresql database
I am developing a Android application with target Android 2.1.
In this application I try to integrate my application with Postgresql database using jdbc driver.
But on running android emulator I am getting this error:
Caused by: java.lang.NoClassDefFoundError: org.postgresql.Driver
- 05-16-2012, 09:35 AM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,484
- Rep Power
- 16
Re: Problem in integrating Android application with Postgresql database
Is there an Android version of Postgres?
That aside, you need to have the driver on the runtime path.
Not sure how these things are packed up in the apk, but I would expect it to be in some lib directory in there.Please do not ask for code as refusal often offends.
- 05-16-2012, 11:32 AM #3
Member
- Join Date
- Jul 2010
- Posts
- 10
- Rep Power
- 0
Similar Threads
-
Integrating an IRC server on Java application
By danoc93 in forum NetworkingReplies: 2Last Post: 04-19-2012, 04:44 PM -
PostgreSQL, Eclipse, Tomcat problem
By s3ib in forum JDBCReplies: 0Last Post: 04-20-2011, 08:39 PM -
insert data to PostgreSQL database using Jsp and Servlets
By athi in forum JDBCReplies: 2Last Post: 03-29-2011, 12:08 PM -
how to save time to database(postgresql) througn input?
By ryo in forum New To JavaReplies: 2Last Post: 10-26-2010, 01:09 PM -
3 tier application and database problem.
By mcajavaprogramer in forum JavaServer Pages (JSP) and JSTLReplies: 2Last Post: 07-19-2010, 11:07 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks