New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment is failing intermittently during InstallPackageAssemblies #2489

Open
pjcollins opened this Issue Dec 5, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@pjcollins
Member

pjcollins commented Dec 5, 2018

I'm seeing deployment fail pretty consistently on a first deployment attempt, and I'm seemingly only able to work around it by cleaning and re-deploying. This appears to be a regression in relatively recent d16.0 builds.

Steps to Reproduce

  1. Create a new Android project and try to deploy it to device.
  2. You may need to clean and redeploy, or otherwise work from an "incremental" state in order to reproduce, however as mentioned I am seeing this pretty consistently on "Clean" deployment attempts.

Expected Behavior

Deployment attempts succeed every time.

Actual Behavior

Deployment intermittently fails with

System.MissingMethodException: Method not found: 'Void Xamarin.AndroidTools.AndroidDeploySession.set_FastDevTypemapsProvider(System.Func`1<System.Collections.Generic.IEnumerable`1<System.String>>)'.
   at Xamarin.Android.Tasks.InstallPackageAssemblies.RunTask()
   at Xamarin.Android.Tasks.InstallPackageAssemblies.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()

Version Information

Xamarin.Android SDK 9.1.199.38 (HEAD/00f9c37c) installed on top of VS2017 15.9
Mono: mono/mono@23f2024
Java.Interop: xamarin/java.interop@6dd6f16
LibZipSharp: grendello/LibZipSharp@d695149
LibZip: nih-at/libzip@b95cf3f
MXE: xamarin/mxe@b9cbb53
ProGuard: xamarin/proguard@905836d
SQLite: xamarin/sqlite@4ea4c69
Xamarin.Android Tools: xamarin/xamarin-android-tools@9e78d6e

Log File

https://gist.githubusercontent.com/pjcollins/9a0737e48f1ccbee5a898583860ab839/raw/ec98364a9f77b8bdcca88891d057016e234aeb93/gistfile1.txt

@pjcollins

This comment has been minimized.

Member

pjcollins commented Dec 6, 2018

I haven't yet managed to reproduce this with a recent xamarin-android master installed on top of A VS2019 preview. This very well may be an incompatibility that is not worth fixing.

I'm going to leave the issue open for now in case it pops up again, but this can probably be resolved in a "WONT FIX" capacity shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment