{ "id": "169734", "key": "TIMOB-25256", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2017-09-08T14:11:15.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "cb-tooling", "ux" ], "versions": [ { "id": "19870", "description": "", "name": "Release 6.1.2", "archived": false, "released": true, "releaseDate": "2017-08-03" }, { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "issuelinks": [], "assignee": null, "updated": "2020-01-30T21:40:36.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" }, { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "h5.Description\r\n\r\nWhen a build fails because a user defined minSDKVersion for Android is lower than ours we error out, telling them to change it and output a what they need to add, it would be nice if we could add some extra logic to also detect whether their targetSDKVersion is supported and tell them that it isn't, then in the log output also change that to prevent them having two successive changed builds due to a config change they could easily overlook in release notes\r\n\r\n{code}\r\n[ERROR] The minimum supported SDK API version must be 16 or newer, but is currently set to 12\r\n\r\nUpdate the android:minSdkVersion in the tiapp.xml or custom AndroidManifest to at least 16:\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\n\r\nh5.Steps to reproduce\r\n\r\n# Change your uses-sdk tag in manifest to the following {{}}\r\n# Build for Android {{ti build -p android -T device --build-only}}\r\n\r\nh5.Actual\r\n\r\nLog message has the same targetSDKVersion which is unsupported", "attachment": [], "flagged": false, "summary": "Android: If android:minSdkVersion is too low, also check android:targetSdkVersion", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Ti SDK: 6.1.2.GA, 6.2.0.v20170907160102", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }