RxPermissions
RxPermissions copied to clipboard
Cannot use with minSdkVersion < 11 (adding tools:overrideLibrary)
I want to use your library with a version check to support SDK vs < 11. I added this to my app s AndroidManifest.xml:
<uses-sdk tools:overrideLibrary="com.tbruyelle.rxpermissions2"/>
On building, manifest merger still shows a RuntimeException:
Error:java.lang.RuntimeException: Manifest merger failed : uses-sdk:minSdkVersion 9 cannot be smaller than version 11 declared in library [com.tbruyelle.rxpermissions2:rxpermissions:0.9.4] /Users/andi/.android/build-cache/dc9ce5b73ad691e2ca7aa988d773478f42663a24/output/AndroidManifest.xml
Probably this is an issue of Android build tools, but I need some clarification. Clearing the build and rebuilding did not help.
@akidee Hello! Read README.md carefully, pls. http://prntscr.com/g87tgt
I did that, but there is surely a way to compile my app with minSdkVersion=9 anyway, as it is documented in many examples like this: https://stackoverflow.com/questions/27095077/how-do-i-use-toolsoverridelibrary-in-a-build-gradle-file