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

Implement the androidapilevel() API in Android packaging projects #1220

Merged
merged 2 commits into from
Jan 10, 2019
Merged

Implement the androidapilevel() API in Android packaging projects #1220

merged 2 commits into from
Jan 10, 2019

Conversation

ifarbod
Copy link
Contributor

@ifarbod ifarbod commented Jan 9, 2019

The androidapilevel API is only implemented for shared library projects. Typically, one would want to change the SDK version for the APK project as well. When you don't specify it, VS picks android-21 as the default compileSdkVersion for you. This PR adds support for AndroidAPILevel for APK projects (the code is simply taken from vsandroid_vcxproj.lua).

Copy link
Member

@samsinsane samsinsane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just the one change, other than that I think this is good to go.

modules/android/vsandroid_androidproj.lua Outdated Show resolved Hide resolved
@samsinsane samsinsane merged commit 698f343 into premake:master Jan 10, 2019
@ifarbod ifarbod deleted the fix-androidproj-apilevel branch January 10, 2019 13:00
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 this pull request may close these issues.

2 participants