I am using a trial version of Xamarin Studio for my latest project consisting of an Android application. It started smoothly at first. But today, after upgrading to the latest stable version, I ran into an error (as indicated in the header of this post).
Build Solution: MyActivity.Mobile (Debug)
Building: MCAAndroid (debugging)
The assembly began on 05/18/2013 17:04:44.
Project "/Users/hazimanabhmy/Projects/MyActivity.Mobile/MCAAndroid/MCAAndroid.csproj" (Create goal (s)):
Target objects _CheckProjectItems: Task CheckProjectItems NativeLibraries: JavaLibraries: JavaSourceFiles:
Target _ComputeAndroidAssetsPaths: ResourceFiles: Assets /WebUI/newsfeed.html Assets / WebUI / images / bg_content.png Assets /WebUI/CSS/style.css Assets / WebUI / images / flag.png IntermediateFiles:
Target _GenerateAndroidAssetsDir: skipping the target is "_GenerateAndroidAssetsDir" because its outputs are relevant.
Target _ComputeAndroidResourcePaths: ResourceFiles: Resources / values / strings.xml Resources / draw / Icon.png Resources / layout / Login.axml Resources / draw / le_cool_logo.png Resources / draw / bg.jpg Resources / draw / icon_password.png /Icon_user.png Resources / layout / Home.axml Resources / draw / info.png Resources / draw / settings.png Resources / draw / help.png Resources / draw / bg_content.png Resources / draw / shadow_black.9.png Resources / draw / cog.png Resources / draw / tools.png Resources / layout / ReadMatric.axml Resources / draw / matric.jpg Resources / draw / mcalogo.png IntermediateFiles:
Target _GenerateAndroidResourceDir: Skipping the target "_GenerateAndroidResourceDir" because its outputs are updated.
Target _ResolveMonoAndroidSdks: MonoAndroid Tools: /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/mandroid/ MonoAndroid Framework: /Library/Frameworks/Xamarin.Android.framework/Versions/Current/libmand .10; /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/mono/2.1 MonoAndroid Binaries: /Library/Frameworks/Xamarin.Android.framework/Versions/Current/bin/ Android NDK: Android SDK: / Users / hazimanabhmy / Library / Developer / Xamarin / android-sdk-mac_x86 / Java SDK: / usr /
Target _ValidateAndroidPackageProperties: GetAndroidPackageName ManifestFile Task: /Users/hazimanabhmy/Projects/MyActivity.Mobile/MCAAndroid/Properties/AndroidManifest.xml AssemblyName: MCAAndroid Package Name: MCAAndroid
Target _BuildDependencies: Solved libraries:
Target _ExtractLibraryProjectImports: assemblies: /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/mono/2.1/System.dll /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/mono/2.1/ System.Xml.dll /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/mandroid/platforms/android-10/Mono.Android.dll /Library/Frameworks/Xamarin.Android.framework/Versions/Current/ lib / mono / 2.1 / System.Core.dll Jars: ResolvedResourceDirectories:
Target _GetLibraryImports: NativeLibraries: Jars:
Target _CheckDuplicateJavaLibraries: JavaSourceFiles: JavaLibraries:
Target _UpdateAndroidResgen: Additional ResourcesResourceDirectories: /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: Error: Aapt task execution error: Initial sequence is empty Task Completed "Aapt" - FAULT Completed goal building "_UpdateAndroidResgen" in the project "/Users/hazimanabhmy/Projects/MyActivity.Mobile/MCAAndroid/MCAAndroid.csproj" .-- FAILED
Ready project "/Users/hazimanabhmy/Projects/MyActivity.Mobile/MCAAndroid/MCAAndroid.csproj" .-- FAILED
Assembly FAILED. Errors:
/Users/hazimanabhmy/Projects/MyActivity.Mobile/MCAAndroid/MCAAndroid.csproj(Build) → /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(_Rpate
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: Error: Aapt task execution error: The original sequence is empty
0 Warning 1 Error Time elapsed from 00:00 to 00: 1048310
---------------------- Done ----------------------
Build: 1 error, 0 warnings
I could not find the reason. Anyone help me?
I asked the same question on the Xamarin.Android forum and am still waiting for an answer. But I think that I could gather more resources and knowledge from experts here.