Skip to content

VS 16.9.0 Preview 1.0 Not preserving data cache on device between debug deploys #5331

@gmck

Description

@gmck

Changing android:minHeight="?android:attr/listPreferredItemHeightSmall" from listPreferredItemHeight inside an androidx.constraintlayout.widget.ConstraintLayout being the only change made to the build caused the following. Similar to problems I had previously with Issue #4913 but not the same problem.

Clean, Rebuild, Deploy fixes it.

Falling back to full APK install as delta update failed with error: Installer command error: ErrorWrongVersion
Installed Package com.glmsoftware.OBDNowPro
FastDev Tools already installed for the app. 0.0.6


Index was outside the bounds of the array.
   at Xamarin.Android.Tasks.FastDeploy.<DeployFastDevFiles>d__89.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Xamarin.Android.Tasks.FastDeploy.<RunTaskAsync>d__78.MoveNext() in /Users/builder/azdo/_work/453/s/xamarin-android/external/monodroid/tools/msbuild/Tasks/FastDeploy.cs:line 175
Done executing task "FastDeploy" -- FAILED.
Done building target "_Upload" in project "OBDNowPro.csproj" -- FAILED.
Done building project "OBDNowPro.csproj" -- FAILED.
Build FAILED.

Metadata

Metadata

Assignees

Labels

Area: App+Library BuildIssues when building Library projects or Application projects.possibly-staleIssues that are potentially no longer relevant.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions