Team transition not found

I wanted to use the aapt command on Mac with android sdk (folder / build-tools / 24.0.1). But whenever I try to use a command, I get a message stating that the command was not found (aapt / aapt2). This does not work either in the terminal or in Android Studio.

If I list the available commands in 24.0.1. in the terminal there is a star sign next to both teams, which is described as:

A star (*) next to a name means that the command is disabled.

How to enable these commands again? Updating the assembly did not help.

+4
source share
1 answer

Check your path and check if it is correct.

Just edit your ~/.bash_profileadd this line:

export PATH=$PATH:/PATH/TO/android-sdk-macosx/build-tools/x.x.x
+13
source

Source: https://habr.com/ru/post/1656016/


All Articles