android build not working

37 views
Skip to first unread message

Maciej Kacper Jagiełło

unread,
May 23, 2012, 6:22:56 AM5/23/12
to h2-da...@googlegroups.com
Tried to setup a basic android project with H2, but the driver fails to load due to build errors.
Tried all jar flavors (jar, jarSmall and jarAndroid) of the following versions: 1.3.165 (stable?), 1.3.166 and 1.3.167.
All failed to load the driver class with "ClassNotFoundException: org.h2.Driver". The classfile is in the jar, the build script did not show any errors and I'm 100% sure the .jar is referenced correctly on the classpath and in the lib directory.

Is there a working build?

Is android supported or should it not be used yet in production?

Thanks.

Thomas Mueller

unread,
May 29, 2012, 4:05:23 AM5/29/12
to h2-da...@googlegroups.com
Hi,

Sorry but I can't tell what's wrong, it works for me. I guess the driver is not in the classpath for some reason in your case, but I can't say why.

Android is supported.

Regards,
Thomas


--
You received this message because you are subscribed to the Google Groups "H2 Database" group.
To view this discussion on the web visit https://groups.google.com/d/msg/h2-database/-/VTQQhrpMLEsJ.
To post to this group, send email to h2-da...@googlegroups.com.
To unsubscribe from this group, send email to h2-database...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.

Maciej Kacper Jagiełło

unread,
Jun 6, 2012, 8:24:44 AM6/6/12
to h2-da...@googlegroups.com
I was too hasty to post. I recreated the project and it indeed works out of the box.
Thanks.
To unsubscribe from this group, send email to h2-database+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages