无法部署Xamarin android应用程序
我只有最新的JDK安装了所有以前的版本,我已经删除了它们,并且在部署我的应用程序时,输出为:
No way to resolve conflict between "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" and "mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e". Choosing "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" arbitrarily.
1>There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "D:\Ishraq\R5\Code\CustomerMobileApp\packages\Xamarin.JudoPay.4.1.13\lib\MonoAndroid10\JudoDotNetXamarinAndroidSDK.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
1>'C:\Program Files\Java\jdk1.8.0_191\bin\jarsigner.exe' exited with code '1':
1> at Xamarin.AndroidTools.PlatformPackage.Exec(String step, ProcessStartInfo psi, IProgressNotifier progressReporter, CancellationToken token) in E:\A\_work\30\s\External\androidtools\Xamarin.AndroidTools\PlatformPackage.cs:line 228
1> at Xamarin.AndroidTools.PlatformPackage.Jarsigner(String unsigned, String packageDir, IProgressNotifier progressReporter, CancellationToken token) in E:\A\_work\30\s\External\androidtools\Xamarin.AndroidTools\PlatformPackage.cs:line 250
1> at Xamarin.AndroidTools.PlatformPackage.GetPlatformPackagePath(Int32 apiLevel, String aaptPath, IProgressNotifier progressReporter, CancellationToken token) in E:\A\_work\30\s\External\androidtools\Xamarin.AndroidTools\PlatformPackage.cs:line 123
1> at Xamarin.AndroidTools.AndroidDeploySession.<InstallSharedPlatformAsync>d__105.MoveNext() in E:\A\_work\30\s\External\androidtools\Xamarin.AndroidTools\Sessions\AndroidDeploySession.cs:line 324
1>--- End of stack trace from previous location where exception was thrown ---
1> at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
1> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
1> at Xamarin.AndroidTools.AndroidDeploySession.<EnsureCorrectSharedRuntimes>d__102.MoveNext() in E:\A\_work\30\s\External\androidtools\Xamarin.AndroidTools\Sessions\AndroidDeploySession.cs:line 249
1>--- End of stack trace from previous location where exception was thrown ---
1> at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
1> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
1> at Xamarin.AndroidTools.AndroidDeploySession.<RunAsync>d__101.MoveNext() in E:\A\_work\30\s\External\androidtools\Xamarin.AndroidTools\Sessions\AndroidDeploySession.cs:line 188
1>--- End of stack trace from previous location where exception was thrown ---
1> at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
1> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
1> at Xamarin.AndroidTools.AndroidDeploySession.<RunLoggedAsync>d__99.MoveNext() in E:\A\_work\30\s\External\androidtools\Xamarin.AndroidTools\Sessions\AndroidDeploySession.cs:line 113
1>Done building project "IshraqCustomer.Android.csproj".
1>Build succeeded.
1>'C:\Program Files\Java\jdk1.8.0_191\bin\jarsigner.exe' exited with code '1':
1> at Xamarin.AndroidTools.PlatformPackage.Exec(String step, ProcessStartInfo psi, IProgressNotifier progressReporter, CancellationToken token) in E:\A\_work\30\s\External\androidtools\Xamarin.AndroidTools\PlatformPackage.cs:line 228
1> at Xamarin.AndroidTools.PlatformPackage.Jarsigner(String unsigned, String packageDir, IProgressNotifier progressReporter, CancellationToken token) in E:\A\_work\30\s\External\androidtools\Xamarin.AndroidTools\PlatformPackage.cs:line 250
1> at Xamarin.AndroidTools.PlatformPackage.GetPlatformPackagePath(Int32 apiLevel, String aaptPath, IProgressNotifier progressReporter, CancellationToken token) in E:\A\_work\30\s\External\androidtools\Xamarin.AndroidTools\PlatformPackage.cs:line 123
1> at Xamarin.AndroidTools.AndroidDeploySession.<InstallSharedPlatformAsync>d__105.MoveNext() in E:\A\_work\30\s\External\androidtools\Xamarin.AndroidTools\Sessions\AndroidDeploySession.cs:line 324
1>--- End of stack trace from previous location where exception was thrown ---
1> at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
1> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
1> at Xamarin.AndroidTools.AndroidDeploySession.<EnsureCorrectSharedRuntimes>d__102.MoveNext() in E:\A\_work\30\s\External\androidtools\Xamarin.AndroidTools\Sessions\AndroidDeploySession.cs:line 249
1>--- End of stack trace from previous location where exception was thrown ---
1> at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
1> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
1> at Xamarin.AndroidTools.AndroidDeploySession.<RunAsync>d__101.MoveNext() in E:\A\_work\30\s\External\androidtools\Xamarin.AndroidTools\Sessions\AndroidDeploySession.cs:line 188
1>--- End of stack trace from previous location where exception was thrown ---
1> at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
1> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
1> at Xamarin.AndroidTools.AndroidDeploySession.<RunLoggedAsync>d__99.MoveNext() in E:\A\_work\30\s\External\androidtools\Xamarin.AndroidTools\Sessions\AndroidDeploySession.cs:line 113
1>
1>Deploy failed on Android_Accelerated_x86_Nougat