apply plugin: 'kotlin-kapt') before the ObjectBox plugin.
android-aptis known to cause problems, try to remove it.
DbException DB’s last entity ID 4 is higher than 3 from modelafter switching back from a branch and running your app. This is expected if that branch makes incompatible changes to entities. You need to uninstall or clear all data of your app before running it again.
Error:Conflict with dependency ‘com.google.code.findbugs:jsr305’ in project ‘:app’. Resolved versions for app (3.0.2) and test app (2.0.1) differ. See
io.objectbox.exception.DbException: Property […] is not compatible to its previous definition. Check its type.
Cannot change the following flags for Property
Could not prepare directory: objectbox (30)