I am having runtime problems with my gradle file. I added this compile \'com.google.android:flexbox:0.3.1\'
as a compile time dependency to my Gradle file. I en
Like the Problem I meet。
When I Use Android Room like this :
compileSdkVersion 25 compile "android.arch.persistence.room:runtime:1.0.0"
I get the same Error.
Because compileSdkVersion should match support libs major version.
More Detail you can see this : Error in support lib after room persistence
Room depends on 26.1 of support library, which is probably why it is broken because SupportLibrary does not promise interop between versions.
Also, you can fix the problem use this
compile ("android.arch.persistence.room:runtime:1.0.0") {
exclude group: 'com.android.support'
}