Skip to content

Flag when Android devices are out of storage #1853

@tjvantoll

Description

@tjvantoll

This was originally reported in NativeScript/sample-Groceries#97.

If you try to deploy to an Android device with insufficient storage, we show the “Successfully deployed on device with identifier 'LGXXXXX'” confirmation message, when the app hasn’t actually deployed.

If you turn on trace logs during the build you’ll see the error below, but that’s hidden by default so users as left confused as to why their app doesn’t show up.

Result when throw error is false:
{ stdout: '\tpkg: /data/local/tmp/groceries-debug.apk\r\nFailure [INSTALL_FAILED_INSUFFI
CIENT_STORAGE]\r\n',
  stderr: '1482 KB/s (22105844 bytes in 14.565s)\n',
  exitCode: 0 }
Successfully deployed on device with identifier 'LGXXXXX'.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions