Xamarin Error cannot find ‘aapt.exe’

Problem:

 

image

 

solution:

 

A workaround is to copy your files to the old directory. Just copy the aapt.exe file from %android_sdk%\build-tools\17.0.0 to%android_sdk%\platform-tools.

And also copy the %android_sdk%\build-tools\17.0.0\lib folder to %android_sdk%\platform-tools\lib. There is 1 file in that directory, dx.jar which is also needed by Xamarin.

Everything should work normally. Not a really good way to fix the problem, but for now it is a good workaround. When Xamarin fixes this issue, it is a good idea to remove the dummy files :)

 

Reference

http://forums.xamarin.com/discussion/4180/aapt-exe-location-incorrect

Visual Studio 跨平台App開發 - Hello Xamarin!
posted @ 2015-03-18 12:43  霍旭东  阅读(721)  评论(0编辑  收藏  举报