Skip to content

Commit

Permalink
Merge pull request #6206 from cb1kenobi/timob-17813
Browse files Browse the repository at this point in the history
[TIMOB-17813] Fixed bug where the targetSDK must be an integer (i.e. 20)...
  • Loading branch information
hieupham007 committed Oct 16, 2014
2 parents d0a2581 + 078e07f commit 6b296fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,7 @@ AndroidBuilder.prototype.validate = function validate(logger, config, cli) {

for (; i >= 0; i--) {
if (targetSDKMap[levels[i]].sdk >= this.minSupportedApiLevel && targetSDKMap[levels[i]].sdk <= this.maxSupportedApiLevel) {
this.targetSDK = levels[i];
this.targetSDK = targetSDKMap[levels[i]].sdk;
break;
}
}
Expand Down

0 comments on commit 6b296fb

Please sign in to comment.