NativeScript / NativeScript/nativescript-cli
Android: install apk corresponding to abi
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1.1k
- Forks
- 204
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 8
Beschreibung
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)
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, den CLI-Installationsablauf und die Stelle nachzuverfolgen, an der die neueste APK im Ausgabeordner ausgewählt wird. Überprüfe die ABI des verbundenen Geräts mit adb shell getprop ro.product.cpu.abi und ermittle anschließend, wie eine ABI-spezifische APK ausgewählt werden kann, wenn sie verfügbar ist, wobei der Fallback auf die universelle APK erhalten bleibt. Erledigt ist die Aufgabe, wenn Installationen mit aufgeteilten ABIs die passende kleinere APK verwenden und andere Installationen weiterhin funktionieren.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- android, javascript
- Bereich
- cli, mobile
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100