Buck project doesn't generate the correct minSdk for Android app modules
See original GitHub issueIn IntelliJ, after running buck project
, library modules (android_library
targets) properly have the value of android:minSdkVersion
from the AndroidManifest
set and do not have any inspection errors when using an API at or below that SDK level.
However, in app modules (android_library
target that is depended on by an android_binary
), inspection errors are shown because it thinks the android:minSdkVersion
is not set and it defaults to 1. This even happens when we explicitly set the value in the android manifest for that module.
My guess as to why this is not working is because both android_binary
and android_library
have an entry for manifest
in the rule. But I can’t seem to resolve the issue when I remove the binary target.
I can provide more details and/or sample project if necessary. This could be a result of us using OkBuck and coming from a Gradle structure.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top GitHub Comments
Any status update on this?
@styurin sounds good, thanks for the update.