Can not run android/sdk/build-tools/23.0.2/aapt

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-03 01:16:55
sudo apt-get install lib32stdc++6 lib32z1
luffynas

please check your compileSdkVersion and buildToolsVersion and targetSdkVersion please same the value. simple :

compileSdkVersion "23"
buildToolsVersion "23"
targetSdkVersion "23"

I am using react-native for android. I encountered the same problem

Cannot run program "/home/user/Android/Sdk/build-tools/23.0.2/aapt": 
error=2 No such file or directory"

but I changed the build tool version to 26.0.2 and it solved build completed without any problem. I barely know why it happened.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!