Issues with db4o in latest versions of Android?

Issues with db4o in latest versions of Android?

db4o News
Issues with db4o in latest versions of Android?
Posted in [Core Team] By German Viscuso

Some people have reported issues after including the db4o jar in the latest versions of Android. Syptoms are that the project compiles just fine but at runtime "class not found" exceptions involving db4o classes are reported. In most cases this is due to Proguard being too agressive and stripping out db4o classes. db4o relies heavily on reflection, which can lead to major issues when code is processed with Proguard.

If you're experiencing those symptoms you can fix it by following this guide:

http://community.versant.com/documentation/reference/db4o-8.1/java/reference/Content/platform_specific_issues/android/proguard.htm
原文地址:https://www.cnblogs.com/lexus/p/2792765.html