{ "id": "175130", "key": "AC-6559", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2020-06-18T17:36:29.000+0000", "created": "2020-06-12T08:08:44.000+0000", "labels": [ "android", "appcelerator", "run", "sdk-9.0.3", "studio" ], "versions": [], "issuelinks": [], "assignee": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-06-18T17:36:35.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": "14552", "name": "Appcelerator CLI", "description": "Please enter tickets related to Tooling and the CLI here" }, { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "description": "I want to create my Classic app with the Titanium SDK 9.0.3.GA. I get the following information in the console:\r\n\r\n{code:java}\r\n[GRADLE] BUILD SUCCESSFUL in 12s\r\nApp successfully installed\r\nStarting app: _ch.test.app_\r\n{code}\r\n\r\nHowever, the app does not start, even after a long wait. There is no mistake, no clues.\r\n\r\n{code:java}\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n[ERROR] : Application failed to launch\r\nThe current timeout is set to 300000 ms\r\nYou can increase this timeout by running: titanium.js config android.appStartTimeout \r\n{code}\r\n\r\nIt doesn't work in the studio and in the terminal.\r\n\r\nWhat else can I do to get the app to start again? It works perfectly under SDK 8.3.1.GA. As of SDK 9.0.0.GA, it no longer works.\r\n\r\nThanks", "attachment": [], "flagged": false, "summary": "Android app does not start (Appcelerator Studio or Terminal) with SDK 9.0.3.GA", "creator": { "name": "aschattat", "key": "aschattat", "displayName": "Antje Schattat", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aschattat", "key": "aschattat", "displayName": "Antje Schattat", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.14.6\r\n Architecture = 64bit\r\n # CPUs = 12\r\n Memory = 16.0GB\r\n\r\nNode.js\r\n Node.js Version = 12.13.0\r\n npm Version = 6.12.0\r\n\r\nAppcelerator CLI\r\n Installer = 5.0.0\r\n Core Package = 8.0.0\r\n\r\nTitanium CLI\r\n CLI Version = 5.2.2\r\n node-appc Version = 0.2.49", "comment": { "comments": [ { "id": "455771", "author": { "name": "aschattat", "key": "aschattat", "displayName": "Antje Schattat", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Note: same situation on emulator and on device\r\nAnd: some Alloy Apps do not start under SDK 9.0.3.GA either", "updateAuthor": { "name": "aschattat", "key": "aschattat", "displayName": "Antje Schattat", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-06-12T08:34:47.000+0000", "updated": "2020-06-12T08:51:13.000+0000" }, { "id": "455772", "author": { "name": "aschattat", "key": "aschattat", "displayName": "Antje Schattat", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I found the mistake. There was a conflict between the \r\n{code:java}\r\n\r\n{code}\r\n in the tiapp.xml and AndroidManifest.xml. There was an \r\n{code:java}\r\n\r\n{code}\r\n in both files and Gradle expects only one. ", "updateAuthor": { "name": "aschattat", "key": "aschattat", "displayName": "Antje Schattat", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-06-12T09:12:47.000+0000", "updated": "2020-06-12T09:12:47.000+0000" }, { "id": "455875", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~aschattat], you can definitely have an {{}} block in both the \"tiapp.xml\" and \"./platform/android/AndroidManifest.xml\" file. I've tested it and it works.\r\n\r\nI'm not sure what you're doing. It would help if you showed us what your \"AndroidManifest.xml\" looked like. I suspect it was replacing something that the install process depended on.\r\n\r\nFYI: Titanium 9.x.x uses gradle to merge \"AndroidManifest.xml\" files. So, I suspect what you had might have confused the Android Studio IDE as well. But we can double check to be sure.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-06-18T17:21:02.000+0000", "updated": "2020-06-18T17:21:02.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }