Unable to build CrossLight Android Project

4 replies. Last post: July 16, 2014 4:18 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
MA QMember

Hi

I'm using the Xamarin 3 and Cross Light 2. All other normal projects of Android works fine with Xamarin

But when I created blank project of Crosslight using wizard. And when I try to run the Android the project


System.Exception: Build started.

C:\Program Files (x86)\MSBuild\12.0\bin\Csc.exe /noconfig /nowarn:1701,1702,2008 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE /errorendlocation /preferreduilang:en-US /reference:D:\Afzal\Projects\CrosslightApp1\packages\Intersoft.Crosslight\Intersoft.Crosslight.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile158\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile158\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile158\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile158\System.Windows.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile158\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile158\System.Xml.Linq.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile158\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile158\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile158\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile158\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile158\System.Net.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile158\System.Runtime.Serialization.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile158\System.ServiceModel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile158\System.ServiceModel.Web.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile158\System.Windows.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile158\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile158\System.Xml.Linq.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile158\System.Xml.Serialization.dll" /debug+ /debug:full /filealign:512 /optimize- /out:obj\Debug\CrosslightApp1.Core.dll /target:library /utf8output BindingProviders\SimpleBindingProvider.cs Infrastructure\AppService.cs Infrastructure\Container.cs Models\ModelBase.cs Properties\AssemblyInfo.cs ViewModels\SimpleViewModel.cs "C:\Users\indianic1\AppData\Local\Temp\.NETPortable,Version=v4.0,Profile=Profile158.AssemblyAttributes.cs"

CrosslightApp1.Core -> D:\Afzal\Projects\CrosslightApp1\CrosslightApp1.Core\bin\Debug\CrosslightApp1.Core.dll

C:\Users\indianic1\AppData\Local\Android\android-sdk\build-tools\17.0.0\aapt.exe package -f -m -M C:\Users\indianic1\AppData\Local\Temp\ac02eic4.rts\AndroidManifest.xml -J C:\Users\indianic1\AppData\Local\Temp\ac02eic4.rts --custom-package crosslightapp1.android -F C:\Users\indianic1\AppData\Local\Temp\ac02eic4.rts\resources.apk.bk -S obj\Debug\res -S D:\Afzal\Projects\CrosslightApp1\CrosslightApp1.Android\obj\Debug\__library_projects__\Intersoft.Crosslight.Android\library_project_imports\res -j obj\Debug\__library_projects__\1_android-support-v4.jar -I C:\Users\indianic1\AppData\Local\Android\android-sdk\platforms\android-16\android.jar --auto-add-overlay 

C:\Program Files (x86)\MSBuild\12.0\bin\Csc.exe /noconfig /nowarn:1701,1702,2008 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE;__MOBILE__;__ANDROID__;__ANDROID_1__;__ANDROID_2__;__ANDROID_3__;__ANDROID_4__;__ANDROID_5__;__ANDROID_6__;__ANDROID_7__;__ANDROID_8__;__ANDROID_9__;__ANDROID_10__;__ANDROID_11__;__ANDROID_12__;__ANDROID_13__;__ANDROID_14__;__ANDROID_15__;__ANDROID_16__ /errorendlocation /preferreduilang:en-US /reference:D:\Afzal\Projects\CrosslightApp1\CrosslightApp1.Core\bin\Debug\CrosslightApp1.Core.dll /reference:D:\Afzal\Projects\CrosslightApp1\packages\Intersoft.Crosslight\Intersoft.Crosslight.Android.dll /reference:D:\Afzal\Projects\CrosslightApp1\packages\Intersoft.Crosslight\Intersoft.Crosslight.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v4.1\Mono.Android.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v4.1\Mono.Android.Support.v4.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.Windows.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /optimize- /out:obj\Debug\CrosslightApp1.Android.dll /target:library /utf8output Infrastructure\AppInitializer.cs Resources\Resource.Designer.cs Properties\AssemblyInfo.cs LaunchActivity.cs Activities\SimpleActivity.cs AndroidApp.cs "C:\Users\indianic1\AppData\Local\Temp\MonoAndroid,Version=v4.1.AssemblyAttributes.cs" obj\Debug\\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs obj\Debug\\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs obj\Debug\\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

CrosslightApp1.Android -> D:\Afzal\Projects\CrosslightApp1\CrosslightApp1.Android\bin\Debug\CrosslightApp1.Android.dll

C:\Program Files (x86)\Java\jdk1.6.0_39\\bin\jarsigner.exe -keystore "C:\Users\indianic1\AppData\Local\Xamarin\Mono for Android\debug.keystore" -storepass android -keypass android -digestalg SHA1 -sigalg md5withRSA -signedjar bin\Debug\CrosslightApp1.Android-Signed-Unaligned.apk obj\Debug\android\bin\CrosslightApp1.Android.apk androiddebugkey 

The specified task executable location "C:\Users\indianic1\AppData\Local\Android\android-sdk\\tools\zipalign.exe" is invalid.

Build FAILED.

All times are GMT -5. The time now is 1:58 PM.
Previous Next