chef-android-sdk icon indicating copy to clipboard operation
chef-android-sdk copied to clipboard

Use the sdkmanager command (when available)

Open gildegoma opened this issue 7 years ago • 2 comments

Initial Motivation

https://github.com/travis-ci/travis-cookbooks/pull/837

To Do List:

  • [ ] Adapt the Chef Cookbook parts
  • [ ] Adapt the android-update-sdk script

Related:

  • GH-34

/cc @Jawnnypoo, @rjaros87 and @brantone.

gildegoma avatar Mar 02 '17 22:03 gildegoma

I don't know if you are already aware, but the sdkmanager has a different format as far as the names for components. Something more like extras;android;m2repository instead of extra-android-m2repository. So, there would probably need to be some communication to the user somewhere that if you are using the newer, use the names from sdkmanager, otherwise use the older names.

Jawnnypoo avatar Mar 02 '17 23:03 Jawnnypoo

Speaking of sdkmanager : https://github.com/Brantone/chef-android-sdk/commit/5912ea63bbd84c84dfc204b1b03525cb01cdb311 I thought I'd put it in a PR somewhere but can't seem to find it all the various other threads + PRs 🤔

Edited to add: I forgot about this https://github.com/Brantone/chef-android-sdk/issues/1 , probably why an actual PR never manifested. I suspected something in environment variables that'd cause it to be inconsistent.

Brantone avatar Mar 03 '17 05:03 Brantone