gpt4 book ai didi

android - 从批处理文件中打开 Android 签名向导

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:12:56 24 4
gpt4 key购买 nike

如何显示在 Android Studio (IntelliJ) 中点击 Build->Generate Signed APK... from a batch file 时出现的对话框?

我不想有一个命令行界面来输入密码,我想显示彩色对话框。有几个“解决方案向量”,我没有一个成功遵循:

  1. 找到 Android 提供的可执行文件并从批处理文件中调用它
    • 我没找到。
  2. 检查 IntelliJ 是否有通用机制从命令行调用操作
    • 我找到了 Command Line Tools但不明白它们是否是我想要的以及如何使用它们。

编辑:从批处理、python 脚本或 gradle 打开对话框也可以

最佳答案

根据在 JetBrains 文章中找到的信息,没有特定的命令行可以执行此操作。当然可以用“start”命令来启动程序,但除此之外,就没办法了。

On this, last, page of the Wizard, specify the output directory for the generated Android Package. Optionally, have IntelliJ IDEA obfuscate the application through integration with the ProGuard built-in tool. (Quote shows how it is mandatory to use the GUI, not a command line, to generate.)

网站:https://www.jetbrains.com/idea/help/generate-signed-apk-wizard.html

关于android - 从批处理文件中打开 Android 签名向导,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28958958/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com