I want to use dx tool. So I use the following command in terminal
dx --dex --output=classes.dex sample.jar
and I got this error
No such file or directory
I know i should set environment variable "path" and add /build-tools/x.y.z/dx to it. But even set the path doesn't resolve the error. I should mention that I can run it from /build-tools/x.y.z/ by running the command
./dx
but i need to access dx from any directory, for my project purpose. I use ubuntu 14.04 64 bit. How can I fix it?