antonpug
antonpug

Reputation: 14296

Command Not Found when trying to use the "android" bash command?

I am trying to use the android command like this

:~ antonpug$ android list targets

But it doesn't work? I get "command not found". What am I doing wrong?

I installed the SDK. Using Mac OS X.

Upvotes: 2

Views: 2450

Answers (1)

Nick Campion
Nick Campion

Reputation: 10479

You need to add the android platform-tools and tools paths to your systems PATH variable. Modify your .profile or .bash_rc file to append the path to the directories in the root of your sdk folder.

Upvotes: 3

Related Questions