Xamarin Error cannot find ‘aapt.exe’

时间:2023-03-09 19:22:40
Xamarin Error cannot find ‘aapt.exe’

Problem:

 

Xamarin Error cannot find ‘aapt.exe’

 

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 Xamarin Error cannot find ‘aapt.exe’

 

Reference

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

Visual Studio 跨平台App開發 - Hello Xamarin!