[DAEMON-152] Android Plugin: Cannot read property list of undefined when querying with no genymotion/virtualbox
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2017-11-16T17:32:34.000+0000 |
Affected Version/s | Appc Daemon 1.0.0 |
Fix Version/s | Appc Daemon 1.0.0 |
Components | androidlib, appcd-plugin-android |
Labels | n/a |
Reporter | Ewan Harris |
Assignee | Ewan Harris |
Created | 2017-11-16T13:57:43.000+0000 |
Updated | 2017-11-16T17:32:34.000+0000 |
Description
Description
λ appcd exec /android/latest/info
on a machine with no virtualbox will give Cannot read property 'list' of undefined
, we're not guarding against virtualbox being undefined properly.
Steps to repro
Ensure you have no virtualbox
λ appcd exec /android/latest/info
Actual
λ appcd exec /android/latest/info
Cannot read property 'list' of undefined
Expected
No error, should handle no vbox
Comments
JSON Source
https://github.com/appcelerator/androidlib/pull/13