maint(android): Android builds on Linux agents need certificates
- Dominant language
- Pascal
- Stars
- 534
- Forks
- 143
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 113
Description
### Describe the bug
> Emulator:` Pixel 9 Pro XL Android API 37.1
> Error code: 'INSTALL_PARSE_FAILED_NO_CERTIFICATES', message='INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl228541714.tmp/keyman-19.0.260-alpha-test-16280.apk: Attempt to get length of null array'
>
> Physical Device: Galaxy A05, Android v15, One UI v7.0 (Video below)
>
> https://github.com/user-attachments/assets/eba14504-1724-4c2a-8b98-0a095e7062f3
AFAICT, the PRs ([#16223](https://github.com/keymanapp/keyman/pull/16223), [#16266](https://github.com/keymanapp/keyman/pull/16266), and [#16280](https://github.com/keymanapp/keyman/pull/16280)) that were built with `ba-noble-keyman-01` agent produce the error. Whereas, the newest PR ([#16290](https://github.com/keymanapp/keyman/pull/16290)) that does not have this problem uses `ba-win11-key-01` build agent. I might be wrong, but as of now, I am unable to get the APK to install on the emulator (APIs 35 & 37.1) and physical device.
### Reproduce the bug
1. Install Keyman for Android Test Artifact from one of these PRs ([#16223](https://github.com/keymanapp/keyman/pull/16223), [#16266](https://github.com/keymanapp/keyman/pull/16266), and [#16280](https://github.com/keymanapp/keyman/pull/16280))
2. Launch Android Studio -> Start Emulator Android 15.0 API 35
3. Drag and drop the APK file into the Emulator
### Expected behavior
_No response_
### Related issues
_No response_
### Keyman apps
- [x] Keyman for Android
- [ ] Keyman for iPhone and iPad
- [ ] Keyman for Linux
- [ ] Keyman for macOS
- [ ] Keyman for Windows
- [ ] Keyman Developer
- [ ] KeymanWeb
- [ ] Other - give details at bottom of form
### Keyman version
_No response_
### Operating system
Android
### Device
Emulator Android 15.0 API 35, Galaxy A05
### Target application
_No response_
### Browser
_No response_
### Keyboard name
_No response_
### Keyboard version
_No response_
### Language name
_No response_
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.