-
Notifications
You must be signed in to change notification settings - Fork 13
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
[BUG] 1.2.1 在 macOS 13.6.7 上 apkSigner命令检查失败 #17
Comments
2024-06-27 17:15:03.093 apk signer command: /Users/test/Library/Android/sdk/build-tools/34.0.0/apksigner version |
正常执行这个命令,会同步打印出命令结果,例如:
2024-06-27 16:46:37.851 apk signer command:
/Users//dev/sdks/android/build-tools/34.0.0/apksigner version
2024-06-27 16:46:38.030 apk signer: 0.9
如果出错了,应该也会打印出出错信息,你看看上述日志的后面有没有错误信息;
或者你直接运行一下这个命令/Users/test/Library/Android/sdk/build-tools/34.0.0/apksigner
version,看是否可以正常打印当前apksigner版本。
machao ***@***.***> 于2024年6月27日周四 17:17写道:
… 2024-06-27 17:15:03.093 apk signer command:
/Users/test/Library/Android/sdk/build-tools/34.0.0/apksigner version
2024-06-27 17:15:08.221 apk signer command:
/Users/test/Library/Android/sdk/build-tools/34.0.0/apksigner version
这个是日志
—
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEMEHQ2FI625JXFTAMMNE4TZJPKCZAVCNFSM6AAAAABJ7HKWLWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJUGE4TCNZUGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
zipalign是可以正常设置的 |
有空可以试一下这个包,https://github.com/jixiaoyong/ApkSigner/releases/tag/v1.2.1-20240628021321-alpha 在修改设置信息出错后,会输出更详细的错误信息,可以复制错误信息或查看日志,方便分析错误: |
apkSigner命令(/Users/test/Library/Android/sdk/build-tools/34.0.0/apksigner)检查失败,请重试(apk signer: exit code: 1 err:The operation couldn’t be completed. Unable to locate a Java Runtime. |
感觉有个人的情况和你比较类似 来源:Java Runtime not found https://forums.developer.apple.com/forums/thread/687489?answerId=748385022#748385022
可以参考他提到的问题路径: 此外,参考我查到的其他人说法,可能和JAVA_HOME是否正确, 不过还是有点奇怪,在你的终端可以运行,在app中用代码调用反而不行,是不是终端和系统的环境变量不用。 |
系统类型
macOS
系统版本
13.6.7
软件版本
1.2.1
问题描述
遇到的问题
一直提示报错,apksigner一直配置不了
复现步骤
The text was updated successfully, but these errors were encountered: