apply plugin: 'kotlin-kapt'
) before the ObjectBox plugin.android-apt
is known to cause problems, try to remove it.@Entity
classes) and the data model of the existing database file.objectbox-models/default.json
. Look for the id
property which contains the UID in the second part, the first part is the ID (the format is ID:UID
).@Entity
classes) and the data model of the existing database file.objectbox-models/default.json
. Look for the lastEntityId
value, the highest used entity ID is contained in the first part, the second part is the UID (the format is ID:UID
).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
http://g.co/androidstudio/app-test-app-conflict
for details.
androidTestCompile 'com.google.code.findbugs:jsr305:3.0.2'
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)