0

我收到以下错误,我尝试使用 VSMac 在调试模式下运行我的应用程序。我正在使用 Xamarin 表单。我想我使用的是最新的 vsmac 和 xamarin 表格。我的 android sdk 似乎是最新的。关于这个问题的任何想法?我在想这个错误是因为某些东西在错误的目录中。我一直在查看我的目录,我认为一切都是正确的。我的 iOS 版本正在运行。错误信息如下。

TIA。

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2290,2): error MSB6003: The specified task executable "zipalign" could not be run. System.ComponentModel.Win32Exception (0x80004005): ApplicationName='/Users/wallym/Library/Developer/Xamarin/android-sdk-macosx/build-tools/30.0.2/zipalign', CommandLine=' -p 4 "/Users/wallym/Projects/McClureRealtyMobileApp/McClureRealty.Android/obj/Debug/android/bin/com.wallym.mcclurerealty.mcclure_realty.apk" "bin/Debug//com.wallym.mcclurerealty.mcclure_realty-Signed.apk"', CurrentDirectory='', Native error= Access denied
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2290,2): error MSB6003:   at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x0029f] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Diagnostics/Process.cs:778 
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2290,2): error MSB6003:   at System.Diagnostics.Process.Start () [0x0003a] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System/services/monitoring/system/diagnosticts/Process.cs:2006 
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2290,2): error MSB6003:   at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2290,2): error MSB6003:   at Microsoft.Build.Utilities.ToolTask.ExecuteTool (System.String pathToTool, System.String responseFileCommands, System.String commandLineCommands) [0x000c9] in /Users/builder/jenkins/workspace/build-package-osx-mono-pullrequest/pr/external/bockbuild/builds/msbuild-15/src/Utilities/ToolTask.cs:711 
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2290,2): error MSB6003:   at Microsoft.Build.Utilities.ToolTask.Execute () [0x00433] in /Users/builder/jenkins/workspace/build-package-osx-mono-pullrequest/pr/external/bockbuild/builds/msbuild-15/src/Utilities/ToolTask.cs:1519 
4

0 回答 0