On Aug 15, 2011, at 12:40 PM, emalamisura wrote:
> hmm can't seem to get SQLite working in Mono Android, I keep getting
> NoClassDefFoundError.

I'm not sure how SQLite would trigger a NoClassDefFoundError. This only happens 
when a Java-side type can't be found, and Mono.Data.Sqlite has no Java-side 
types involved.

> I saw references to add a Mono.Data.SQLite reference, but for
> the life of me I couldn't find this, I think its bundled in with Mono now?

For reasons I cannot currently fathom, Mono.Data.Sqlite is listed as 
System.Data.SQLite within the Add Reference dialog in Visual Studio, and after 
selecting it the Assembly References section contains Mono.Data.Sqlite. I don't 
know why this is happening. :-(

> I found references to SQLite working with Mono Android but for some reason I 
> can't get it working!

It would also be useful to provide sample code and error messages, if 
available. All I can say is that it works for me (though I still need to 
provide a public sample that actually uses Mono.Data.Sqlite...).

 - Jon

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to