Results 1 to 3 of 3
  1. #1
    nayal_java is offline Member
    Join Date
    Jul 2010
    Posts
    24
    Rep Power
    0

    Default 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

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default 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.

    ** This space for rent **

  3. #3
    nayal_java is offline Member
    Join Date
    Jul 2010
    Posts
    24
    Rep Power
    0

    Default Re: Problem in integrating Android application with Postgresql database

    Quote Originally Posted by Tolls View Post
    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.
    Can you tell me which postgresql jdbc jar version i have to use and what other settings to be done to make this application run

Similar Threads

  1. Integrating an IRC server on Java application
    By danoc93 in forum Networking
    Replies: 2
    Last Post: 04-19-2012, 05:44 PM
  2. PostgreSQL, Eclipse, Tomcat problem
    By s3ib in forum JDBC
    Replies: 0
    Last Post: 04-20-2011, 09:39 PM
  3. Replies: 2
    Last Post: 03-29-2011, 01:08 PM
  4. Replies: 2
    Last Post: 10-26-2010, 02:09 PM
  5. 3 tier application and database problem.
    By mcajavaprogramer in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 07-19-2010, 12:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •