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
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.
Re: Problem in integrating Android application with Postgresql database
Quote:
Originally Posted by
Tolls
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