NativeScript / NativeScript/nativescript-cli
Android: install apk corresponding to abi
オープン
まだ誰も着手していません。
feature
os: android
performance
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 204
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 8
説明
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)
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず CLI のインストールフローを追跡し、出力フォルダー内の最新の APK を選択している箇所を確認します。adb shell getprop ro.product.cpu.abi で接続されたデバイスの ABI を確認し、利用可能な場合に ABI 固有の APK を選択しつつ、ユニバーサル APK へのフォールバックを維持する方法を判断します。split-ABI インストールで対応する小さい APK が使用され、その他のインストールも引き続き動作すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android, javascript
- 領域
- cli, mobile
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100