{ "id": "172426", "key": "AC-5965", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2018-12-12T09:24:24.000+0000", "created": "2018-10-11T19:04:46.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-12-12T09:24:25.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "Just updated to new SDK 7.4.0.GA, and when building for Android (via cli), Im getting the error below.\r\n\r\nIve been building with 7.0.1.GA before updating today without issue, Ive tested\r\n\r\n- 7.4.0.GA\r\n- 7.3.0.GA\r\n\r\nand I get the error on these SDK versions.\r\n\r\nUsing 7.2.0.GA works ok.\r\n\r\n{code:java}\r\n[INFO] Running AAPT: /Users/eharms/Library/Android/sdk/build-tools/26.0.2/aapt \"package\" \"-f\" \"-m\" \"-J\" \"/Users/eharms/Documents/Appcelerator_Studio_Workspace/AppceleratorRebuild/build/android/gen\" \"-M\" \"/Users/eharms/Documents/Appcelerator_Studio_Workspace/AppceleratorRebuild/build/android/AndroidManifest.xml\" \"-A\" \"/Users/eharms/Documents/Appcelerator_Studio_Workspace/AppceleratorRebuild/build/android/bin/assets\" \"-S\" \"/Users/eharms/Documents/Appcelerator_Studio_Workspace/AppceleratorRebuild/build/android/res\" \"-I\" \"/Users/eharms/Library/Android/sdk/platforms/android-27/android.jar\" \"-F\" \"/Users/eharms/Documents/Appcelerator_Studio_Workspace/AppceleratorRebuild/build/android/bin/app.ap_\" \"--output-text-symbols\" \"/Users/eharms/Documents/Appcelerator_Studio_Workspace/AppceleratorRebuild/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\"\r\n[ERROR] Failed to package application:\r\n[ERROR]\r\n[ERROR] /Users/eharms/Documents/Appcelerator_Studio_Workspace/AppceleratorRebuild/build/android/res/layout/activity_add_source.xml:10: error: Error: No resource found that matches the given name (at 'textAppearance' with value '@style/TextAppearance.AppCompat.Notification').\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Android build fails - No resource found that matches the given name (at 'textAppearance' with value '@style/TextAppearance.AppCompat.Notification')", "creator": { "name": "capsizeno4", "key": "capsizeno4", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "capsizeno4", "key": "capsizeno4", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.13.6\r\n Architecture = 64bit\r\n # CPUs = 8\r\n Memory = 17179869184\r\n\r\nNode.js\r\n Node.js Version = 8.9.1\r\n npm Version = 5.8.0\r\n\r\nTitanium CLI\r\n CLI Version = 5.1.1\r\n\r\nUsing Android build tools 25.0.3", "comment": { "comments": [ { "id": "442627", "author": { "name": "capsizeno4", "key": "capsizeno4", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\n\r\nSo I've narrowed this down to my Stripe Android module. My Stripe module has been using stripe-android-5.1.0.aar, and when I try and rebuild my module with the current setup and 7.4.0, I get the same error message that I was getting when building my app.\r\n\r\nafter rebuilding with the latest Stripe SDK (stripe-android-6.1.2.aar) my app builds without the error.\r\n\r\nWhen I add this to my app, the app builds ok, but I get the following error on startup, and it just loops and loops with the same error in my console.\r\n\r\n{code:java}\r\n[ERROR] TiExceptionHandler: SyntaxError: Unexpected end of JSON input\r\n[ERROR] TiExceptionHandler: at JSON.parse ()\r\n[ERROR] TiExceptionHandler: at HTTPClient.client.onload (eval at Module._compile (/app.js:733:8), :84:21)\r\n[ERROR] V8Exception: Exception occurred at undefined:1: Uncaught SyntaxError: Unexpected end of JSON input\r\n[ERROR] TiHTTPClient: (main) [95,8635] Could not decode response text.\r\n[ERROR] TiExceptionHandler: (main) [3,8638]\r\n[ERROR] TiExceptionHandler: ^\r\n{code}\r\n\r\nI can then close the error pop up in my app and continue to use the app, however its kinda buggy at that point.\r\n\r\nIf I can get some help deciphering the error message, that would be great.\r\n\r\nThanks", "updateAuthor": { "name": "capsizeno4", "key": "capsizeno4", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-10-15T19:17:06.000+0000", "updated": "2018-10-15T19:17:06.000+0000" }, { "id": "442629", "author": { "name": "capsizeno4", "key": "capsizeno4", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\n\r\njust another note -- if I build with 7.2.0, things work ok. So just as I mentioned in the first message, 7.4.0 and 7.3.0 produces the errors.\r\n\r\nthanks", "updateAuthor": { "name": "capsizeno4", "key": "capsizeno4", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-10-15T19:43:11.000+0000", "updated": "2018-10-15T19:43:11.000+0000" }, { "id": "444060", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Please try with SDK 7.5.0.GA and let us know if the issue still there? Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-11-29T22:07:29.000+0000", "updated": "2018-11-29T22:07:29.000+0000" }, { "id": "444185", "author": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Sharif,\r\n\r\nStill not working in 7.5.0.GA. Is there anyway I can somehow comment it out on the module code side, or add something to my app code to catch it? Im not super clear on what exactly is causing the issue, but there is a similar SO issue here\r\n\r\nhttps://stackoverflow.com/questions/48241620/errorresource-style-textappearance-compat-notification-info-aka-packageid-te\r\n\r\n", "updateAuthor": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-03T23:52:19.000+0000", "updated": "2018-12-03T23:52:19.000+0000" }, { "id": "444262", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\nThanks for your feedback. It would be great if you can share a simple test project to reproduce the issue on our end. Also provide your environment details.", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-12-05T08:40:16.000+0000", "updated": "2018-12-05T08:40:16.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }