Skip to content

Fix build for android below 21 #326

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

Merged
merged 1 commit into from
Mar 16, 2015

Conversation

rosen-vladimirov
Copy link
Contributor

In res directory there's values directory that is required for all android versions and directory called values-v21, which is required only for Android version 21. In case you do not have installed latest Android version, this directory should not be added to your project.
Add copyResValues method, which copies res/values directory and res/values-v<version_number> directory to your project. This way when we add directories for other android versions, they will not break builds for older ones.

Fixes #299

In res directory there's values directory that is required for all android versions and directory called values-v21, which is required only for Android version 21. In case you do not have installed latest Android version, this directory should not be added to your project.
Add copyResValues method, which copies res/values directory and res/values-v<version_number> directory to your project. This way when we add directories for other android versions, they will not break builds for older ones.

Fixes #299
@rosen-vladimirov rosen-vladimirov added this to the 0.9.2 milestone Mar 16, 2015
@rosen-vladimirov rosen-vladimirov self-assigned this Mar 16, 2015
@ns-bot
Copy link

ns-bot commented Mar 16, 2015

Test PASSed.

@dtopuzov
Copy link
Contributor

👍

1 similar comment
@Fatme
Copy link
Contributor

Fatme commented Mar 16, 2015

👍

rosen-vladimirov added a commit that referenced this pull request Mar 16, 2015
…ion-builds

Fix build for android below 21
@rosen-vladimirov rosen-vladimirov merged commit c7225b4 into release Mar 16, 2015
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/fix-android-version-builds branch March 16, 2015 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants