i already installed the build tools 23.0.1.but i got this error.
java.io.IOException: Cannot run program "/root/Android/Sdk/build-tools/23.0.1/aapt": error=2, No such file or directory
i already installed the build tools 23.0.1.but i got this error.
java.io.IOException: Cannot run program "/root/Android/Sdk/build-tools/23.0.1/aapt": error=2, No such file or directory
First make sure there is respective file exist or not, then please try this some action, that might solve your problem:
update latest android sdk tools
or
clean and rebuild after sync build.gradle
or
invalid cache /restart
if you are using jenkins then try this command in terminal: sudo apt-get install lib32stdc++6 lib32z1
if all the option didn't work just follow this link: Ant debug and ant release failed and "aapt" IOException error=2, No such file or directory" why can't I build my gradle on jenkins?
Hope this will help for you.