jatin rana
jatin rana

Reputation: 835

Unable to merge dex error when adding room dependency

When i add room dependencies and try to build project i am getting "unable to merge dex error".

I am adding below dependencies

implementation "android.arch.persistence.room:runtime:1.0.0-alpha1"
annotationProcessor "android.arch.persistence.room:compiler:1.0.0-alpha1"

If i remove them i am able to build project successfully. I am using android studio 3.0 stable version.

Upvotes: 1

Views: 299

Answers (1)

jatin rana
jatin rana

Reputation: 835

Replacing "1.0.0-alpha1" with 1.0.0-rc1 solved the problem.

Upvotes: 1

Related Questions