android – 密钥库apk统一错误

android – 密钥库apk统一错误,第1张

概述当我尝试在团结中构建我的apk时,我得到错误的消息: 1. Win32Exception: ApplicationName='/Users/kristianstenberg/Library/Android/sdk/build-tools/26.0.0/apksigner', CommandLine='sign --ks "/Users/kristianstenberg/Desktop/Platfo 当我尝试在团结中构建我的apk时,我得到错误的消息:

1.

Win32Exception: Applicationname='/Users/kristianstenberg/library/AndroID/sdk/build-tools/26.0.0/apksigner',Commandline='sign --ks "/Users/kristianstenberg/Desktop/Platformer/VegardHansenStenberg.keystore" --ks-pass pass:"Balder123" --ks-key-alias "besquare" --key-pass pass:"Balder123" "/Users/kristianstenberg/Desktop/Platformer/Temp/StagingArea/Package.apk"',CurrentDirectory='Temp/StagingArea'System.Diagnostics.Process.Start_noshell (System.Diagnostics.processstartinfo startInfo,System.Diagnostics.Process process)System.Diagnostics.Process.Start_common (System.Diagnostics.processstartinfo startInfo,System.Diagnostics.Process process)System.Diagnostics.Process.Start ()(wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()UnityEditor.Utils.Program.Start (System.EventHandler exitCallback) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Utils/Program.cs:44)UnityEditor.Utils.Program.Start () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Utils/Program.cs:28)UnityEditor.AndroID.Command.Run (System.Diagnostics.processstartinfo psi,UnityEditor.AndroID.WaitingForProcesstoExit waitingForProcesstoExit,System.String errorMsg)UnityEditor.AndroID.PostProcessor.Tasks.TasksCommon.Exec (System.String command,System.String args,System.String workingdir,System.String errorMsg,Int32 retrIEsOnFailure)UnityEditor.AndroID.PostProcessor.Tasks.BuildAPK.SignPackage (UnityEditor.AndroID.PostProcessor.PostProcessorContext context)UnityEditor.AndroID.PostProcessor.Tasks.BuildAPK.Execute (UnityEditor.AndroID.PostProcessor.PostProcessorContext context)UnityEditor.AndroID.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.AndroID.PostProcessor.PostProcessorContext context)UnityEditor.AndroID.PostProcessAndroidplayer.PostProcess (BuildTarget target,System.String stagingAreaData,System.String stagingArea,System.String playerPackage,System.String installPath,System.String companyname,System.String productname,BuildOptions options,UnityEditor.RuntimeClassRegistry usedClassRegistry,UnityEditor.buildreporting.buildreport report)UnityEditor.AndroID.AndroIDBuildPostprocessor.PostProcess (BuildPostProcessArgs args)UnityEditor.PostprocessBuildplayer.Postprocess (BuildTargetGroup targetGroup,BuildTarget target,Int32 wIDth,Int32 height,UnityEditor.buildreporting.buildreport report) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildplayer.cs:263)UnityEditor.HostVIEw:OnGUI()

2.

UnityEditor.BuildplayerWindow+BuildMethodException: Build Failed with errors.  at UnityEditor.BuildplayerWindow+DefaultBuildMethods.Buildplayer (BuildplayerOptions options) [0x001b9] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildplayerWindowBuildMethods.cs:162   at UnityEditor.BuildplayerWindow.CallBuildMethods (Boolean askForBuildLocation,BuildOptions defaultBuildOptions) [0x00050] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildplayerWindowBuildMethods.cs:83 UnityEditor.HostVIEw:OnGUI()

我有一个密钥库时,我只收到这些消息
请帮助我

解决方法 这是由AndroID SDK Build Tools 26.0.0中的已知问题引起的 –
 它是missapksigner.在发布较新版本的Build Tools之前,有两种解决方法:

>切换到较旧版本的AndroID SDK Build Tools(例如,25.0.3),或
>将旧版本的Build Tools中的apksigner(和/或windows上的apksigner.bat)和lib / apksigner.jar复制到build-tools / 26.0.0 /.

见https://github.com/bazelbuild/bazel/issues/3258和https://issuetracker.google.com/issues/62696222.

编辑:AndroID SDK Build Tools 26.0.1已发布.它包含apksigner.

总结

以上是内存溢出为你收集整理的android – 密钥库apk统一错误全部内容,希望文章能够帮你解决android – 密钥库apk统一错误所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1122612.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-29
下一篇 2022-05-29

发表评论

登录后才能评论

评论列表(0条)

保存