{ "id": "175607", "key": "AC-6613", "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": null, "resolutiondate": null, "created": "2020-10-07T07:00:58.000+0000", "labels": [ "android" ], "versions": [], "issuelinks": [], "assignee": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-10-08T22:41:41.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I have a perfectly running project in GitHub. So, tried to create an Github Action with all almost same settings and versions (node,titanium,appc,alloy) all that I can think of.\r\nBuild runs successfully, produces signed apk. but 1 module ti.imagepicker doesn't work in CI generated apk\r\n_{color:#d04437}\"android.content.ActivityNotFound Exception: Unable to find explicit activity class {.../ti.imagepicker.ImagePickerActivity}; have you declared this activity in your AndroidManifest.xml?\"{color}_\r\nIf I debug the apk in Android studios, it does not have that activity, but module is there in the project folder. Same project, same setting locally would generate activity though \r\nI get no error while building so hard to tell whats going on. Any help would be great.\r\n\r\n\r\n\r\nGist from Github action\r\n \r\n{code:yml}\r\n ...\r\n - name: Setup Android NDK\r\n id: setup-ndk\r\n uses: nttld/setup-ndk@v1.0.0\r\n with:\r\n ndk-version: r21\r\n \r\n - name: Build android APK package\r\n run: |\r\n sudo npm install -g appcelerator\r\n appc use\r\n appc setup -l trace\r\n \r\n sudo npm install -g titanium@5.2.1\r\n sudo npm install -g alloy@1.15.1\r\n \r\n appc login --username ${{ secrets.TITANIUM_USERNAME }} --password ${{ secrets.TITANIUM_PASSWORD }}\r\n appc use 8.0.0\r\n \r\n ti sdk install 8.3.1.GA\r\n titanium info\r\n \r\n appc ti build -T dist-playstore -p android -K ./app/release.keystore -P ${{ secrets.PLAYSTORE_KEY }} -O ./dist \r\n ...\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Module not being added on AndroidManifest.xml while building from Github Actions", "creator": { "name": "luke_lu", "key": "luke_lu", "displayName": "Luke Lu", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "luke_lu", "key": "luke_lu", "displayName": "Luke Lu", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "./> titanium info\r\n\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.15.7\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 12.0GB\r\n\r\nNode.js\r\n Node.js Version = 10.15.3\r\n npm Version = 6.4.1\r\n\r\nTitanium CLI\r\n CLI Version = 5.2.1\r\n node-appc Version = 0.2.49\r\n\r\nTitanium SDKs\r\n 8.3.1.GA\r\n Version = 8.3.1\r\n Install Location = /Users/runner/Library/Application Support/Titanium/mobilesdk/osx/8.3.1.GA\r\n Platforms = iphone, android\r\n git Hash = 1e832a6720\r\n git Timestamp = 1/15/2020 18:27\r\n node-appc Version = 0.3.4\r\n \r\nMac OS X\r\n The maximum supported Android API level by Titanium SDK 8.3.1 is API level 29.\r\n", "comment": { "comments": [ { "id": "457221", "author": { "name": "luke_lu", "key": "luke_lu", "displayName": "Luke Lu", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Any thoughts ?", "updateAuthor": { "name": "luke_lu", "key": "luke_lu", "displayName": "Luke Lu", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-10-08T22:41:41.000+0000", "updated": "2020-10-08T22:41:41.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }