Android command deprecated

Im trying to run an Android project inside a mac environment. Everything seems to being going ok until it tries to access the android command when executing the following two statements

- echo y | android update sdk --no-ui --all --filter "" - echo y | android update sdk --no-ui --all --filter ""

I get back this error:
The “android” command is deprecated.

Now Ive had this issue locally on my machine and managed to fix it by reverting back and older version of tools via this link

Doing this allowed me to use my android command again.

However how will I be able to do this on cricleci keeping in mind doing anything related to the android command wont work?

Or has anyone managed to install dependencies using something other than the android command?


1 Like