This repository has the required code to generate a fully functioning db4o jar file.
Originally, there is a bug that does not allow db#store() to work properly. I made a simple patch to the code and generated a new JAR file for db4o. For more details about the bug, please have a look here http://stackoverflow.com/questions/24966062/db4o-on-android-4-4-storing-an-object-fails-because-cannot-cast-long-to-integ/24967780#24967780
To download the jar file, please download it from bin/ folder.
This JAR file is tested on:
- Android 4.4.4 (Nexus 5)
- Android 4.3 (Samsung Galaxy S III)
Please test it on older versions and notify me.
Disclaimer: all rights reserved for db4o owners. This is just to help other developers.