Add Android ARM64 release target - #4734
Conversation
There was a problem hiding this comment.
Pull request overview
Adds an Android ARM64 package target for native TypeScript releases.
Changes:
- Builds and publishes Android ARM64 binaries.
- Prevents unsafe fanotify probing on Android.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
Herebyfile.mjs |
Enables the Android ARM64 release package. |
internal/fswatch/fanotify_linux.go |
Disables fanotify detection on Android. |
|
Is there a way I can download the GitHub Actions CI artifact from this PR? |
|
No, but I could temporarily enable that (it'd be too big overall to have on always) |
|
If it's not too much trouble I would like to test it, but if it would take too long then don't worry about it. |
|
Temporarily made this upload artifacts; will undo when you've checked. |
|
We're only going to publish VSIXes that I forgot that CI only builds the core platforms, so I'll hack android in there quick |
|
I have tested the artifact on F-Droid Termux, and it is fully working there and is able to compile the Typescript Hello World. However, unfortunately, on Google Play Termux, this error is occurring:
The reason why this error occurs is because typescript-go attempts to detect its installation directory using the typescript-go/internal/bundled/noembed.go Line 23 in 5b1047d and unfortunately, in all Android apps that have targetSdkVersion 29 or higher, it is not possible for the executable ELF to get its real executable path from the Instead, it is necessary to determine the path that typically would come from |
|
For some context: this is a very common problem in Google Play Termux, however it is one of the few very common problems that are only reproducible in Google Play Termux and when it gets resolved within the program code, usually the program fully or mostly otherwise works. Because of that, I estimate that if that problem were solved, there probably would not be any other immediately obvious problems running the binary in Google Play Termux. The other very common problem with Google Play Termux is that it can't execute fully statically linked binaries, however the binary from this artifact has |



Fixes #4715
Closes #4729