lundi 9 mars 2015

Sqlite- using Sql droid jdbc could not create database

I am trying to access sqlite database using sqldroid.I am testing this on windows 8 I have the db url as "jdbc:sqldroid:/com/example/test.db". As per the documentation, database test.db had to be createnter code hereed in the package com.example. However I don't see database and I got the following error stack:



java.lang.RuntimeException: Stub!
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:31)
at org.sqldroid.SQLiteDatabase.<init>(SQLiteDatabase.java:89)
at org.sqldroid.SQLDroidConnection.<init>(SQLDroidConnection.java:131)

Aucun commentaire:

Enregistrer un commentaire