I am trying to add realm to a project that it's currently working fine. But when I add the realm plugin to the module I can synchornise ok in Android studio but not build.
I just updated gradle from 1.10 to gradle 2.2.1-rc-1, when I compile the project with gradle-wrapper it keeps giving me this error message: Failed to apply plugin [id ...