I've been struggling with this error for the past day when I try to build my Xamarin.Forms application in visual studio 2013. The error I get is:
"Error 57 resource directory 'D:\FormsGallery\packages\Xamarin.Android.Support.v7.AppCompat.21.0.3.0\lib\MonoAndroid403\21.0.3\content\.\res' does not exist D:\FormsGallery\FormsGallery\FormsGallery.Android\AAPT FormsGallery.Android" In my content directory in the mentioned path there is no such a thing as ".\res\".
I would appreciate any help on this. And below is my output in verbosity mode:
"C:\Program Files (x86)\Android\android-sdk\build-tools\android-4.4W\aapt.exe package -f -m -M C:\Users\Moji\AppData\Local\Temp\r3avdjv1.amc\AndroidManifest.xml -J C:\Users\Moji\AppData\Local\Temp\r3avdjv1.amc --custom-package formsgallery.android -F C:\Users\Moji\AppData\Local\Temp\r3avdjv1.amc\resources.apk.bk -S obj\Debug\res -S D:\FormsGallery\FormsGallery\FormsGallery.Android\obj\Debug\__library_projects__\Xamarin.Forms.Maps.Android\library_project_imports\res -S D:\FormsGallery\FormsGallery\FormsGallery.Android\obj\Debug\__library_projects__\Xamarin.Forms.Platform.Android\library_project_imports\res -S D:\FormsGallery\FormsGallery\FormsGallery.Android\obj\Debug\__library_projects__\Xamarin.Forms.Platform\library_project_imports\res -S D:\FormsGallery\packages\Xamarin.GooglePlayServices.22.0.0.2\lib\MonoAndroid41\22.0.0\content\./res -S D:\FormsGallery\packages\Xamarin.Android.Support.v4.21.0.3.0\lib\MonoAndroid10\21.0.3\content\./res -S D:\FormsGallery\packages\Xamarin.Android.Support.v7.AppCompat.21.0.3.0\lib\MonoAndroid403\21.0.3\content\./res -S D:\FormsGallery\packages\Xamarin.Android.Support.v7.MediaRouter.21.0.3.0\lib\MonoAndroid403\21.0.3\content\./res -j obj\Debug\__library_projects__\1_formsviewgroup.jar -I "C:\Program Files (x86)\Android\android-sdk\platforms\android-18\android.jar" --auto-add-overlay (TaskId:163) AAPT : error : resource directory 'D:\FormsGallery\packages\Xamarin.Android.Support.v7.AppCompat.21.0.3.0\lib\MonoAndroid403\21.0.3\content\.\res' does not exist. The command exited with code 1. (TaskId:163). Done executing task "Aapt" -- FAILED. (TaskId:163)"