[TIMOB-17168] Android detection fails if "add-ons" folder does not exist
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2018-02-26T15:32:07.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 3.4.0 |
| Components | Android, CLI |
| Labels | module_cli, qe-closed-3.4.0, qe-manualtest, qe-testadded |
| Reporter | Chris Barber |
| Assignee | Chris Barber |
| Created | 2014-06-17T00:43:51.000+0000 |
| Updated | 2018-02-26T15:33:27.000+0000 |
Description
If the Android SDK exists, but there are no add-ons (i.e. Google APIs) and thus the "add-ons" folder does not exist, then the CLI errors out.
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5808 3_3_X pull request: https://github.com/appcelerator/titanium_mobile/pull/5809 To test, rename the "add-ons" folder in your Android SDK and run
ti info -t android.Works as expected. Approved and merged.
Environment - Appcelerator Studio - 3.3.0.201407111535 SDK - 3.4.0.v20140815142514 ACS - 1.0.16 Alloy - 1.4.1 NPM - 1.3.2 Titanium - 3.3.0 Code-processor - 1.1.1 Xcode - 6Beta5 OS - Mavericks(v10.9.4) Working as expected. CLI does not errors out even if add-ons folder is renamed.
Closing according to verification done by [~pagarwal].
Reopening to fix sprint.