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

[TIMOB-19475] Android: Build fails if target SDK is lower than API 23 #7139

Merged
merged 1 commit into from Sep 8, 2015

Conversation

feons
Copy link
Contributor

@feons feons commented Sep 8, 2015

@@ -1102,7 +1102,7 @@ AndroidBuilder.prototype.validate = function validate(logger, config, cli) {
// target sdk is too old
if (this.realTargetSDK < this.minTargetApiLevel) {
logger.error(__('The target SDK %s is not supported by Titanium SDK %s', this.targetSDK + (this.targetSDK !== this.realTargetSDK ? ' (' + this.realTargetSDK + ')' : ''), ti.manifest.version));
logger.error(__('The target SDK version must be %s or newer', this.minTargetApiLevel) + '\n');
logger.error(__('The target SDK version must be %s', this.minTargetApiLevel) + '\n');
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure about this. So, yes we only support api 23, but if the target sdk is greater than 23, we don't really error out... only if it's less than 23. So, it should be safe to leave the "or newer".

@cb1kenobi
Copy link
Contributor

APPROVED

cb1kenobi added a commit that referenced this pull request Sep 8, 2015
[TIMOB-19475] Android: Build fails if target SDK is lower than API 23
@cb1kenobi cb1kenobi merged commit c417e21 into tidev:master Sep 8, 2015
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.

None yet

2 participants