Build the Android app from a clean machine and fix the docs
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- android, node.js, react-native, typescript
- Domain
- documentation, mobile
Research direction
Start with the "Set up" and "Build the Android app" sections in CONTRIBUTING.md, then follow the listed commands from the repository root on a clean Linux or macOS machine. Record any missing setup steps or failed commands, including Android SDK requirements and environment variables. Update CONTRIBUTING.md with only the missing instructions; done means a second person can follow it on another clean machine, or you report that the existing steps worked with your system and tool versions.
Written by the indexing model from the issue text.
Description
Why
docs/devices.md sends people who would rather build their own APK to CONTRIBUTING.md, whose Android steps mirror .github/workflows/android.yml. Following them on a machine that was never set up is the only way to find what they leave out (ROADMAP.md, Now: preview APKs and open development).
What to do
- On a machine that has never built Hermit (Linux or macOS; say which), follow only CONTRIBUTING.md: "Set up", then "Build the Android app", until you have the debug APK. If you have an arm64 phone, install it and load JavaScript from Metro as that section says.
- Write down every step you needed that the docs don't give, and every command that failed. Worth checking:
- free disk: README.md says about 15 GB, CONTRIBUTING.md says nothing;
- how to install the Android SDK pieces (the workflow installs
platforms;android-37.0,build-tools;37.0.0,ndk;29.0.14206865andcmake;3.22.1), and settingANDROID_HOMEandJAVA_HOME; node apps/mobile/worklets/wallet/build.mjsrunsnpm ciin the system's temp folder (its header says about 320 MB of packages), so it needs the network;- the first Gradle run downloads Gradle and its dependencies.
- Add what was missing to CONTRIBUTING.md, in the same plain style. Don't reorder or rewrite steps that worked.
Done when
- The pull request says which system, JDK and Node versions you used, and whether the APK installed on a phone.
- CONTRIBUTING.md covers every step you had to find out by yourself, so a second person can follow it on another clean machine.
- If everything worked as written, say so in a comment here, with your system and versions, instead of a pull request.
How to check
The steps from CONTRIBUTING.md, from the repository root:
pnpm install
(cd apps/mobile && npx expo prebuild --platform android --no-install)
node scripts/qvac-bundle.mjs
node apps/mobile/worklets/wallet/build.mjs
(cd apps/mobile/android && ./gradlew :app:assembleDebug)
ls apps/mobile/android/app/build/outputs/apk/debug/app-debug.apk
Keep in mind
apps/mobile/androidis generated byexpo prebuild. Never edit it by hand or commit it.- Docs only. If a script or a workflow is wrong, open a bug report for it.
- No paths from your machine, user names or build logs in the docs.
- Dominant language
- TypeScript
- Stars
- 11
- Forks
- 0
- Avg merge
- 10m
- Merged PRs (30d)
- 6
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DojoCodingLabs/hermit
-
docs good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
DojoCodingLabs/hermit#73 ·
Maintainers usually reply within 1 day
-
device-lab
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
DojoCodingLabs/hermit#45 ·
Maintainers usually reply within 1 day
-
device-lab
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
DojoCodingLabs/hermit#44 ·
Maintainers usually reply within 1 day
-
device-lab
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
DojoCodingLabs/hermit#43 ·
Maintainers usually reply within 1 day
-
agent-friendly docs good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
DojoCodingLabs/hermit#39 ·
Maintainers usually reply within 1 day
All issues in DojoCodingLabs/hermit
Similar issues
-
bug zoo
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
software-mansion/runntime#151 ·
Maintainers usually reply within 4 days
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
sidebandstudio/clawtrate#728 ·
Maintainers usually reply within 1 day
-
enhancement github_actions help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tranquilo-art/tranquilo-app#254 ·
Maintainers usually reply within 1 day
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Tfoucher5/fuzzy-toolkit#44 ·
Maintainers usually reply within 1 day
-
bug tooling
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
endora-commerce/endora-commerce#1978 ·
Maintainers usually reply within 1 day