您的位置:首页 > 产品设计 > UI/UE

Cannot find `aapt.exe`. Please install the Android SDK Build-tools package

2016-05-31 22:47 826 查看
Google has updated their SDK tools ("Android SDK Tools" Rev. 23) in a way that also requires installing the latest "Android SDK Build-tools" package, and the Android SDK Manager does not enforce this requirement.

Fix: once you have installed "Android SDK Tools" Rev. 23 or higher, you must also install "Android SDK Platform-tools" Rev. 20 or higher and "Android SDK Build-tools" Rev 19.1.0 or higher (Rev. 20 recommended). This is necessary because Google moved some of the executables that were previously located in the "Android SDK Tools" package into the "Android SDK Build-tools" package.

After this step your Android SDK Manager should show up-to-date versions for all three packages:



Error messages

Xamarin Studio on Mac



error XA5205: Cannot find
aapt
. Please install the Android SDK Build-tools package with the
/Users/username/Library/Developer/Xamarin/android-sdk-macosx/tools/android
program.


Visual Studio on Windows



Cannot find
aapt.exe
. Please install the Android SDK Build-tools package with the
C:\Users\Username\AppData\Local\Android\android-sdk\tools\android.bat
program.

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: