NativeScript / NativeScript/nativescript-cli
Android: install apk corresponding to abi
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
Right now if an app is using split abi the cli will install the "latest" apk in the output folder. It ends up always being the universal one.
What would be great would be for the cli to install the apk corresponding to the device abi if it exists.
we can get the connected device abi with adb shell getprop ro.product.cpu.abi
That way:
- install would be faster as the apk would much smaller
- it would take less space on the device (which gets important on emulators)
Contributor 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.
Research direction
Start by tracing the CLI install flow and where it selects the latest APK in the output folder. Check the connected device ABI with adb shell getprop ro.product.cpu.abi, then determine how an ABI-specific APK can be selected when available while preserving the universal APK fallback. Done means split-ABI installs use the matching smaller APK and other installs still work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, javascript
- Domain
- cli, mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100