gpt4 book ai didi

android - 如何通过 FaSTLane 创建 aab (bundle)?

转载 作者:行者123 更新时间:2023-12-02 09:42:03 35 4
gpt4 key购买 nike

我要创建aab ( bundle )通过Fastlane ,但到目前为止我只能创建 apk ,这是我的lane现在,如何创建 aab?

 lane :beta do
store_password = prompt(text: "Signing Store Password: ", secure_text: true)
key_password = prompt(text: "Alias Key Password: ", secure_text: true)
releaseFilePath = File.join(Dir.pwd, "..", "my-release-key.keystore")
gradle(task: 'clean')
gradle(
task: 'assemble',
build_type: 'Release',
print_command: false,
properties: {
"android.injected.signing.store.file" => releaseFilePath,
"android.injected.signing.store.password" => store_password,
"android.injected.signing.key.alias" => "my-key-alias",
"android.injected.signing.key.password" => key_password,
}
)
upload_to_play_store(
track: 'internal'
)

最佳答案

更改 task来自 assemblebundle ,解决了我的问题!

关于android - 如何通过 FaSTLane 创建 aab (bundle)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59159677/

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