Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes on devices below API 24 #11

Closed
MariusVolkhart opened this issue Apr 14, 2020 · 0 comments · May be fixed by #12
Closed

App crashes on devices below API 24 #11

MariusVolkhart opened this issue Apr 14, 2020 · 0 comments · May be fixed by #12

Comments

@MariusVolkhart
Copy link

The app crashes on devices with an API below 24. Root cause is that the drawables are in the drawable-v24 folder, and so are not found at runtime.

The minSdk in build.gradle is set at 19, but should probably be 21, since several of the required assets are only available in vector drawable form? I don't recall if the support libraries do vector asset handling for APIs below 21.

MariusVolkhart added a commit to MariusVolkhart/ms-identity-android-kotlin that referenced this issue Apr 14, 2020
The minimum SDK support is 21, since several of the drawables are only available as vector drawables, which are only supported on API 21 and up.

The drawables are moved out of the drawable-v24 folder to make them accessible on all supported APIs.

Fixes Azure-Samples#11
@negoe negoe closed this as completed Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants