Forum Cross Platform with Xamarin

deploy to Asus Zen Phone 3 failed

Build started 07/05/2018 19:49:46.


Project "/Users/Pro/Projects/Turismo/Droid/Turismo.Droid.csproj" (Install target(s)):

Target _SetLatestTargetFrameworkVersion:
Found Java SDK version 1.8.0.
Target _ValidateAndroidPackageProperties:
PackageName: com.companyname.Turismo
Target ProcessGoogleServicesJsonChecks:
No GoogleServicesJson file specified.
Target _GenerateAndroidAssetsDir:
Skipping target "_GenerateAndroidAssetsDir" because it has no outputs.
Target _ResolveMonoAndroidSdks:
MonoAndroid Tools: /Library/Frameworks/Xamarin.Android.framework/Libraries/xbuild/Xamarin/Android/
Android Platform API level: 26
TargetFrameworkVersion: v8.0
Android NDK: /Users/Pro/Library/Developer/Xamarin/android-ndk/android-ndk-r14b/
Android SDK: /Users/Pro/Library/Developer/Xamarin/android-sdk-macosx/
Android SDK Build Tools: /Users/Pro/Library/Developer/Xamarin/android-sdk-macosx/build-tools/25.0.3/
Java SDK: /usr/
Target _GetPrimaryCpuAbi:
_PrimaryCpuAbi=
Target _CheckInstantRunCondition:
Dex Fast Deployment Enabled: False
Target _SetupInstantRun:
Android Java Class for Fast Deployment:
Target _SetupApplicationJavaClass:
Application Java class: android.app.Application
Target _ResolveLibraryProjectImports:
Skipping target "_ResolveLibraryProjectImports" because all output files are up-to-date with respect to the input files.
Target _BuildLibraryImportsCache:
Skipping target "_BuildLibraryImportsCache" because all output files are up-to-date with respect to the input files.
Target _BuildAdditionalResourcesCache:
Skipping target "_BuildAdditionalResourcesCache" because all output files are up-to-date with respect to the input files.
Target _CreateAdditionalResourceCache:
Skipping target "_CreateAdditionalResourceCache" because it has no outputs.
Target _GenerateAndroidResourceDir:
Skipping target "_GenerateAndroidResourceDir" because all output files are up-to-date with respect to the input files.
Target _DefineBuildTargetAbis:
Build target ABI: arm64-v8a;armeabi;armeabi-v7a;x86;x86_64
Target VectorDrawableCheckBuildToolsVersionTask:
Checking Android SDK Build-tools version...
Selected Android SDK Build Tools Path: /Users/Pro/Library/Developer/Xamarin/android-sdk-macosx/build-tools/25.0.3/
Selected Android SDK Build Tools Version: 25.0.3
Android SDK Build Tools Version: 25.0.3 meets minimum requirements for Vector Drawables. OK.
Finished Checking Android SDK Build-tools version.
Target _UpdateAndroidResgen:
Skipping target "_UpdateAndroidResgen" because all output files are up-to-date with respect to the input files.
Target _CreateAdditionalResourceCache:
Skipping target "_CreateAdditionalResourceCache" because it has no outputs.
Target _GenerateJavaDesignerForComponent:
Skipping target "_GenerateJavaDesignerForComponent" because all output files are up-to-date with respect to the input files.
Target GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
Target _CoreXamlG:
Skipping target "_CoreXamlG" because all output files are up-to-date with respect to the input files.
Target _CoreXamlG:
Skipping target "_CoreXamlG" because all output files are up-to-date with respect to the input files.
Target _CoreXamlG:
Skipping target "_CoreXamlG" because all output files are up-to-date with respect to the input files.
Target _CoreXamlG:
Skipping target "_CoreXamlG" because all output files are up-to-date with respect to the input files.
Target _CoreXamlG:
Skipping target "_CoreXamlG" because all output files are up-to-date with respect to the input files.
Target _CoreXamlG:
Skipping target "_CoreXamlG" because all output files are up-to-date with respect to the input files.
Target _CoreXamlG:
Skipping target "_CoreXamlG" because all output files are up-to-date with respect to the input files.
Target _CoreXamlG:
Skipping target "_CoreXamlG" because all output files are up-to-date with respect to the input files.
Target _CoreXamlG:
Skipping target "_CoreXamlG" because all output files are up-to-date with respect to the input files.
Target CoreCompile:
Skipping target "CoreCompile" because all output files are up-to-date with respect to the input files.
Target XamlC:
Compiling Xaml

.......

No compiled resources. Skipping writing assembly.

Target _CopyFilesMarkedCopyLocal:
Touching "/Users/Pro/Projects/Turismo/Droid/obj/Debug/Turismo.Droid.csproj.CopyComplete".
Target CopyFilesToOutputDirectory:
Turismo.Droid -> /Users/Pro/Projects/Turismo/Droid/bin/Debug/Turismo.Droid.dll
Target IncrementalClean:
Deleting file "/Users/Pro/Projects/Turismo/Droid/obj/Debug/linksrc/Turismo.Droid.pdb".
Deleting file "/Users/Pro/Projects/Turismo/Droid/obj/Debug/linksrc/Mono.Android.pdb".
Deleting file "/Users/Pro/Projects/Turismo/Droid/obj/Debug/linksrc/Plugin.Connectivity.Abstractions.pdb".
Deleting file "/Users/Pro/Projects/Turismo/Droid/obj/Debug/linksrc/FormsViewGroup.dll.mdb".
Deleting file "/Users/Pro/Projects/Turismo/Droid/obj/Debug/linksrc/Plugin.Connectivity.dll.mdb".
Deleting file "/Users/Pro/Projects/Turismo/Droid/obj/Debug/linksrc/Xamarin.Forms.Core.dll.mdb".
Deleting file "/Users/Pro/Projects/Turismo/Droid/obj/Debug/linksrc/Xamarin.Forms.Platform.Android.dll.mdb".
Deleting file "/Users/Pro/Projects/Turismo/Droid/obj/Debug/linksrc/Xamarin.Forms.Xaml.dll.mdb".
Target _CollectConfigFiles:
Skipping target "_CollectConfigFiles" because all output files are up-to-date with respect to the input files.
Target _CopyConfigFiles:
Skipping target "_CopyConfigFiles" because it has no outputs.
Target _CopyIntermediateAssemblies:
Skipping target "_CopyIntermediateAssemblies" because all output files are up-to-date with respect to the input files.
Target _ConvertPdbFiles:
Skipping target "_ConvertPdbFiles" because all output files are up-to-date with respect to the input files.
Target _CopyPdbFiles:
Copying file from "bin/Debug/Turismo.Droid.pdb" to "obj/Debug/linksrc/Turismo.Droid.pdb".
Copying file from "bin/Debug/Mono.Android.pdb" to "obj/Debug/linksrc/Mono.Android.pdb".
Copying file from "bin/Debug/Plugin.Connectivity.Abstractions.pdb" to "obj/Debug/linksrc/Plugin.Connectivity.Abstractions.pdb".
Target _CopyMdbFiles:
Copying file from "bin/Debug/FormsViewGroup.dll.mdb" to "obj/Debug/linksrc/FormsViewGroup.dll.mdb".
Copying file from "bin/Debug/Plugin.Connectivity.dll.mdb" to "obj/Debug/linksrc/Plugin.Connectivity.dll.mdb".
Copying file from "bin/Debug/Xamarin.Forms.Core.dll.mdb" to "obj/Debug/linksrc/Xamarin.Forms.Core.dll.mdb".
Copying file from "bin/Debug/Xamarin.Forms.Platform.Android.dll.mdb" to "obj/Debug/linksrc/Xamarin.Forms.Platform.Android.dll.mdb".
Copying file from "bin/Debug/Xamarin.Forms.Xaml.dll.mdb" to "obj/Debug/linksrc/Xamarin.Forms.Xaml.dll.mdb".
Target _StripEmbeddedLibraries:
Skipping target "_StripEmbeddedLibraries" because all output files are up-to-date with respect to the input files.
Target _LinkAssembliesNoShrink:
Touching "obj/Debug/link.flag".
Target _GenerateJavaStubs:
Skipping target "_GenerateJavaStubs" because all output files are up-to-date with respect to the input files.
Target _AddStaticResources:
Skipping target "_AddStaticResources" because all output files are up-to-date with respect to the input files.
Target _GeneratePackageManagerJava:
Skipping target "_GeneratePackageManagerJava" because all output files are up-to-date with respect to the input files.
Target _CreateAdditionalResourceCache:
Skipping target "_CreateAdditionalResourceCache" because it has no outputs.
Target _CreateBaseApk:
Skipping target "_CreateBaseApk" because all output files are up-to-date with respect to the input files.
Target _CreateAdditionalResourceCache:
Skipping target "_CreateAdditionalResourceCache" because it has no outputs.
Target _CompileJava:
Skipping target "_CompileJava" because all output files are up-to-date with respect to the input files.
Target _CreateAdditionalResourceCache:
Skipping target "_CreateAdditionalResourceCache" because it has no outputs.
Target _CompileToDalvikWithDx:
Skipping target "_CompileToDalvikWithDx" because all output files are up-to-date with respect to the input files.
Target _CopyPackage:
Copying file from "/Users/Pro/Projects/Turismo/Droid/obj/Debug/android/bin/com.companyname.Turismo.apk" to "bin/Debug/com.companyname.Turismo.apk".
Target _ResolveAndroidSigningKey:
Creating "obj/Debug/android_debug_keystore.flag" because "AlwaysCreate" was specified.
Target _Sign:
/usr/bin/keytool -list -alias androiddebugkey -storepass android -keypass android -keystore "/Users/Pro/.local/share/Xamarin/Mono for Android/debug.keystore"
/Users/Pro/Library/Developer/Xamarin/android-sdk-macosx/build-tools/25.0.3/zipalign 4 "/Users/Pro/Projects/Turismo/Droid/obj/Debug/android/bin/com.companyname.Turismo.apk" "bin/Debug//com.companyname.Turismo-Signed.apk"
/Users/Pro/Library/Developer/Xamarin/android-sdk-macosx/build-tools/25.0.3/apksigner sign --ks "/Users/Pro/.local/share/Xamarin/Mono for Android/debug.keystore" --ks-pass pass:android --ks-key-alias androiddebugkey --key-pass pass:android --min-sdk-version 15 --max-sdk-version 27 bin/Debug/com.companyname.Turismo-Signed.apk
Signed android package 'bin/Debug/com.companyname.Turismo-Signed.apk'
Target _Upload:
Detecting installed packages...

Detecting installed packages
Removing old runtime: Mono.Android.DebugRuntime...

Removing old runtime
Target device is arm64-v8a.
Installing the Mono shared runtime (debug - 1520772767)...

Installing shared runtime
10% ... 3456kb of 34209kb copied
20% ... 6848kb of 34209kb copied
30% ... 10304kb of 34209kb copied
40% ... 13696kb of 34209kb copied
50% ... 17152kb of 34209kb copied
60% ... 20544kb of 34209kb copied
70% ... 24000kb of 34209kb copied
80% ... 27392kb of 34209kb copied
90% ... 30848kb of 34209kb copied
100% ... 34209kb of 34209kb copied
Deployment failed
System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
at System.String.Substring (System.Int32 startIndex, System.Int32 length) [0x00087] in /Users/builder/data/lanes/5533/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/string.cs:1266
at Mono.AndroidTools.AndroidInstalledPackage..ctor (System.String value) [0x00035] in /Users/builder/data/lanes/5809/a7829590/source/monodroid/tools/msbuild/external/androidtools/Mono.AndroidTools/AndroidInstalledPackage.cs:55
at Mono.AndroidTools.Internal.AdbOutputParsing.ParseLastResortPackageList (System.String output) [0x0001e] in /Users/builder/data/lanes/5809/a7829590/source/monodroid/tools/msbuild/external/androidtools/Mono.AndroidTools/Internal/AdbOutputParsing.cs:65
at Mono.AndroidTools.AndroidDevice+<>c__DisplayClass68_0.b__0 (System.Threading.Tasks.Task1[TResult] t) [0x0004e] in /Users/builder/data/lanes/5809/a7829590/source/monodroid/tools/msbuild/external/androidtools/Mono.AndroidTools/AndroidDevice.cs:467 at System.Threading.Tasks.ContinuationResultTaskFromResultTask2[TAntecedentResult,TResult].InnerInvoke () [0x00024] in :0
at System.Threading.Tasks.Task.Execute () [0x00010] in /Users/builder/data/lanes/5533/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2502
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.Debugging.targets(479,2): error : Length cannot be less than zero.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.Debugging.targets(479,2): error : Parameter name: length
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.Debugging.targets(479,2): error : at System.String.Substring (System.Int32 startIndex, System.Int32 length) [0x00087] in /Users/builder/data/lanes/5533/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/string.cs:1266
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.Debugging.targets(479,2): error : at Mono.AndroidTools.AndroidInstalledPackage..ctor (System.String value) [0x00035] in /Users/builder/data/lanes/5809/a7829590/source/monodroid/tools/msbuild/external/androidtools/Mono.AndroidTools/AndroidInstalledPackage.cs:55
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.Debugging.targets(479,2): error : at Mono.AndroidTools.Internal.AdbOutputParsing.ParseLastResortPackageList (System.String output) [0x0001e] in /Users/builder/data/lanes/5809/a7829590/source/monodroid/tools/msbuild/external/androidtools/Mono.AndroidTools/Internal/AdbOutputParsing.cs:65
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.Debugging.targets(479,2): error : at Mono.AndroidTools.AndroidDevice+<>c__DisplayClass68_0.b__0 (System.Threading.Tasks.Task1[TResult] t) [0x0004e] in /Users/builder/data/lanes/5809/a7829590/source/monodroid/tools/msbuild/external/androidtools/Mono.AndroidTools/AndroidDevice.cs:467 /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.Debugging.targets(479,2): error : at System.Threading.Tasks.ContinuationResultTaskFromResultTask2[TAntecedentResult,TResult].InnerInvoke () [0x00024] in :0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.Debugging.targets(479,2): error : at System.Threading.Tasks.Task.Execute () [0x00010] in /Users/builder/data/lanes/5533/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2502
Creating "obj/Debug/upload.flag" because "AlwaysCreate" was specified.
Creating directory "obj/.cache/".
Done building target "_Upload" in project "Turismo.Droid.csproj".

Done building project "Turismo.Droid.csproj".

Build succeeded.

****/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.Debugging.targets(479,2): error : Length cannot be less than zero.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.Debugging.targets(479,2): error : Parameter name: length
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.Debugging.targets(479,2): error : at System.String.Substring (System.Int32 startIndex, System.Int32 length) [0x00087] in /Users/builder/data/lanes/5533/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/string.cs:1266
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.Debugging.targets(479,2): error : at Mono.AndroidTools.AndroidInstalledPackage..ctor (System.String value) [0x00035] in /Users/builder/data/lanes/5809/a7829590/source/monodroid/tools/msbuild/external/androidtools/Mono.AndroidTools/AndroidInstalledPackage.cs:55
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.Debugging.targets(479,2): error : at Mono.AndroidTools.Internal.AdbOutputParsing.ParseLastResortPackageList (System.String output) [0x0001e] in /Users/builder/data/lanes/5809/a7829590/source/monodroid/tools/msbuild/external/androidtools/Mono.AndroidTools/Internal/AdbOutputParsing.cs:65
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.Debugging.targets(479,2): error : at Mono.AndroidTools.AndroidDevice+<>c__DisplayClass68_0.b__0 (System.Threading.Tasks.Task1[TResult] t) [0x0004e] in /Users/builder/data/lanes/5809/a7829590/source/monodroid/tools/msbuild/external/androidtools/Mono.AndroidTools/AndroidDevice.cs:467 /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.Debugging.targets(479,2): error : at System.Threading.Tasks.ContinuationResultTaskFromResultTask2[TAntecedentResult,TResult].InnerInvoke () [0x00024] in :0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.Debugging.targets(479,2): error : at System.Threading.Tasks.Task.Execute () [0x00010] in /Users/builder/data/lanes/5533/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2502
0 Warning(s)
1 Error(s)****

Time Elapsed 00:00:27.52

Sign In or Register to comment.