Skip to content

Flag when Android devices are out of storage #1853

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tjvantoll opened this issue Jun 16, 2016 · 2 comments
Closed

Flag when Android devices are out of storage #1853

tjvantoll opened this issue Jun 16, 2016 · 2 comments

Comments

@tjvantoll
Copy link
Contributor

tjvantoll commented Jun 16, 2016

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'.
@rosen-vladimirov
Copy link
Contributor

Hey @tjvantoll ,
This is already addressed and should be working fine in the next official release - the error is detected and shown to the user. I'll mark it as bug and set it to Ready for Test, so it will be included in the release notes.

@dtopuzov
Copy link
Contributor

I can confirm it works in {N} CLI master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants