Android command deprecated


#1

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 "com.google.firebase:firebase-core:10.0.1" - echo y | android update sdk --no-ui --all --filter "com.google.firebase:firebase-messaging:10.0.1"

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 https://dl.google.com/android/repository/tools_r25.2.3-macosx.zip

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?

Thanks


#2