[AC-6613] Module not being added on AndroidManifest.xml while building from Github Actions
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | android |
| Reporter | Luke Lu |
| Assignee | Abir Mukherjee |
| Created | 2020-10-07T07:00:58.000+0000 |
| Updated | 2020-10-08T22:41:41.000+0000 |
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.
Build runs successfully, produces signed apk. but 1 module ti.imagepicker doesn't work in CI generated apk
_{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}_
If 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
I get no error while building so hard to tell whats going on. Any help would be great.
Gist from Github action
...
- name: Setup Android NDK
id: setup-ndk
uses: nttld/setup-ndk@v1.0.0
with:
ndk-version: r21
- name: Build android APK package
run: |
sudo npm install -g appcelerator
appc use
appc setup -l trace
sudo npm install -g titanium@5.2.1
sudo npm install -g alloy@1.15.1
appc login --username $ secrets.TITANIUM_USERNAME --password $ secrets.TITANIUM_PASSWORD
appc use 8.0.0
ti sdk install 8.3.1.GA
titanium info
appc ti build -T dist-playstore -p android -K ./app/release.keystore -P $ secrets.PLAYSTORE_KEY -O ./dist
...
Any thoughts ?