{ "id": "172876", "key": "TIMOB-26736", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": [ { "id": "20033", "name": "Release 9.0.0", "archived": false, "released": true, "releaseDate": "2020-03-18" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-12-04T20:39:03.000+0000", "created": "2019-01-16T09:17:31.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "issuelinks": [], "assignee": null, "updated": "2020-12-04T20:39:03.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "When using SDK 8+, incremental builds on Android are broken. Output:\r\n{code}\r\n[INFO] Generating /Users/hans/Documents/dev/myapp/myapp-titanium/build/android/res/values/theme.xml\r\n[INFO] Running AAPT: /Users/hans/Library/Android/sdk/build-tools/28.0.3/aapt \"package\" \"-f\" \"-m\" \"-J\" \"/Users/hans/Documents/dev/myapp/myapp-titanium/build/android/gen\" \"-M\" \"/Users/hans/Documents/dev/myapp/myapp-titanium/build/android/AndroidManifest.xml\" \"-A\" \"/Users/hans/Documents/dev/myapp/myapp-titanium/build/android/bin/assets\" \"-S\" \"/Users/hans/Documents/dev/myapp/myapp-titanium/build/android/res\" \"-I\" \"/Users/hans/Library/Android/sdk/platforms/android-28/android.jar\" \"-F\" \"/Users/hans/Documents/dev/myapp/myapp-titanium/build/android/bin/app.ap_\" \"--ignore-assets\" \"!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~\" \"--output-text-symbols\" \"/Users/hans/Documents/dev/myapp/myapp-titanium/build/android/intermediates/bundles\" \"--no-version-vectors\" \"--auto-add-overlay\" \"--extra-packages\" \"ti.modules.titanium.ui:android.support.coreui:android.support.coreutils:android.support.exifinterface:android.support.fragment:android.support.graphics.drawable.animated:android.support.graphics.drawable:android.support.mediacompat:android.support.transition:android.support.v4:android.support.v7.appcompat:android.support.v7.recyclerview:android.support.compat:android.support.design:android.support.v7.cardview:com.google.android.gms:com.alcoapps.actionbarextras\"\r\n[ERROR] Failed to package application:\r\n[ERROR]\r\n[ERROR] ERROR: asset directory '/Users/hans/Documents/dev/myapp/myapp-titanium/build/android/bin/assets' does not exist\r\n{code}\r\n\r\nCleaning the app fixes the issue, but is not ideal for our dev-ux. Our app is already shared with the team and can be viewed at any time.", "attachment": [], "flagged": false, "summary": "Android: Incremental builds broken in SDK 8+", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": "8.0.0.v20190114160512", "comment": { "comments": [ { "id": "457809", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We've rewritten our Android build system to use gradle as of Titanium 9.0.0.\r\nThere have been no reports of incremental build issues as of 9.0.0.\r\nSo, I'm going to declare victory and say 9.0.0 solves it.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-12-04T20:38:15.000+0000", "updated": "2020-12-04T20:38:15.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }