We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Warning
此脚本需要安装 Android Build Tools,并且将 ~/Android/Sdk/build-tools/35.0.0/aapt 替换为你的 aapt 位置
~/Android/Sdk/build-tools/35.0.0/aapt
建议运行脚本以后,把 application-label 改成 application-label-zh-CN,这样文件名就是中文了
application-label
application-label-zh-CN
for apk in *.apk; do label=$(~/Android/Sdk/build-tools/35.0.0/aapt dump badging "$apk" | grep -Po "^application-label:'\K.*?(?='$)") if [[ -z "$label" ]]; then echo "error $apk" continue fi mv "$apk" "$label.apk" echo "$apk -> $label.apk" done
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Warning
此脚本需要安装 Android Build Tools,并且将
~/Android/Sdk/build-tools/35.0.0/aapt
替换为你的 aapt 位置The text was updated successfully, but these errors were encountered: