objectbox-java: [0.9.14] Android flavors cause model file to be in wrong dir

i run my app with objectbox, and populate database in next run i must clean my project, and rebuild and run, in next run this exception occurred, this is bug or normal behavior ? if normal, this is problem, sometimes developer need clean project, what do need for that ? thanks

Unable to create application ****: io.objectbox.exception.DbException: Incoming entity ID 4:322973086687871121 does not match existing UID 430538273810174192

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 22 (10 by maintainers)

Most upvoted comments

@DJafari 0.9.15 is out - can you verify it resolves the issue? Thanks!

The bug is fixed that ObjectBox uses the wrong dir when using flavors. Other than that we deferred “model per flavor” to #149