开发者

Using "SQLite.JDBCDriver" with Android

开发者 https://www.devze.com 2023-03-28 12:36 出处:网络
I\'m trying to connect on a开发者_JAVA技巧n SQLite Database. Once, this Code was running fine on my PC. But now i get a \"class not found\"-exception.

I'm trying to connect on a开发者_JAVA技巧n SQLite Database. Once, this Code was running fine on my PC. But now i get a "class not found"-exception.

Class.forName("SQLite.JDBCDriver").newInstance();

what could be the reason? i allready installed different versions of JAVA, Android SDK and Eclipse.

at the moment i have installed: Java:1.7.0-b147, AndroidSDK: r12

thanks for your Ideas! reto


Is your class path setup correctly?

Since you run a PC, I assume you are using Windows, this might be useful to you.

Good luck.

0

精彩评论

暂无评论...
验证码 换一张
取 消