nativescript-cli icon indicating copy to clipboard operation
nativescript-cli copied to clipboard

Android: install apk corresponding to abi

Open farfromrefug opened this issue 4 years ago • 0 comments

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)

farfromrefug avatar Aug 12 '21 15:08 farfromrefug