android-priority-jobqueue
android-priority-jobqueue copied to clipboard
Compilation issue for android things.
When this is included in my gradle dependency for a Android Library Module (compile 'com.birbit:android-priority-jobqueue:2.0.1'), a gradle sync error pops up...:
Error:Execution failed for task ':things:preDebugBuild'.
Android dependency 'com.android.support:support-v4' has different version for the compile (21.0.3) and runtime (26.0.1) classpath. You should manually set the same version via DependencyResolution
My min SDK is 21 because my library is required by both mobile and Things. My target and compileSDK version is 26....
You could set an exclusion in your gradle dependency on android-priority-jobqueue to exclude the support-v4 dependency from being transitively included. Should make the error go away.