Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14701] CLI: Android: For emulator builds, check that emulator has sufficient space

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-08-28T23:16:51.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 18 Core, 2013 Sprint 18, Release 3.2.0
ComponentsAndroid, CLI, Tooling
Labelsandroidbuild, ay-verified, cb-verified, module_CLI, qe-testadded
ReporterChris Barber
AssigneeChris Barber
Created2013-07-30T21:55:53.000+0000
Updated2014-02-12T01:24:56.000+0000

Description

See if there's a way to check how much space is free in an AVD before install the app. We probably will need to build the app first to get the APK file size.

Comments

  1. Chris Barber 2013-08-27

    This is fixed by https://github.com/appcelerator/titanium_mobile/pull/4612, specifically TIMOB-14784.
  2. Allen Yeung 2013-10-16

    We show a friendly error message now: [ERROR] Failed to installed apk on device "emulator-5554" [ERROR] Error: Not enough free space on device
  3. Eric Merriman 2013-12-05

    To test, there are two tests: 1) if you have 10 MB free, create an app that is 1 mb. Should install fine 2) Install an APK that is 8 MB, this will copy ok, but fail to decompress 3) Install an APK that is 20 MB - should fail All failures should have friendly warning
  4. Lokesh Choudhary 2013-12-06

    Verified the error messages on studio console in different cases of available memory on the emulator. Environment: Appcel Studio : 3.2.0.201312042306 Ti SDK : 3.2.0.v20131204220843 Mac OSX : 10.8.5 Alloy : 1.3.0-beta CLI - 3.2.0-beta Samsung Galaxy S4 running android 4.2.2 Nexus 5 - android 4.4

JSON Source