Reputation: 91
What does this even mean? I had my program running and deploying fine and then the next day this error popped up?
Severity Code Description Project File Line Suppression State Tool Error ADB0000: Value cannot be null. Parameter name: path2 at System.IO.Path.Combine(String path1, String path2, String path3) at Xamarin.AndroidTools.PlatformPackage.GetVersionInfo(String frameworkVersion) at Xamarin.AndroidTools.PlatformPackage.GetPlatformPackageVersion(Int32 apiLevel, String& packageName) at AndroidDeviceExtensions.d__33.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 AndroidDeviceExtensions.d__27.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 Xamarin.AndroidTools.AndroidDeploySession.d__101.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 Xamarin.AndroidTools.AndroidDeploySession.d__99.MoveNext()
0
I was trying to follow an online YouTube tutorial (https://www.youtube.com/watch?v=eAZ4kPf5eTc) and it worked fine until I got this error?
Upvotes: 8
Views: 5885
Reputation: 9
Upvotes: 0
Reputation: 55
Go to developer settings and disable verify apps via USB. Then you can install .apk without any problem.
Upvotes: 0
Reputation: 361
I had the same issue, Here is how i fix this error
1-Delete bin and obj folder from all projects.
2-clean and rebuild whole project.
3- Uninstall the app from emulator (device).
Run the project.
Upvotes: 3
Reputation: 119
Updating nuget fixed my problem. For me root cause was Xamarin forms was not working due to the older versions of xamarin dlls. I updated all the dlls and worked.
Upvotes: 3
Reputation: 592
I just had the same issue. The fix for me was: In Android emulator hold the app icon and move it to uninstall. Rebuild, deploy and run from VS 2017.
Upvotes: 10