Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 4.10.0
-
None
Description
From some time Google requires Android APK names be lowercased. When creating Android apps the one Custom Build Step is always needed - rename android-build-release-signed.apk to final distribution name. Sometimes it needs be automatically copied. But if application has names with uppercase characters - then it's name must be entered in lowercase manually.
Suggestion: add Envronment variable CurrentProject:FileNameLowcase which will contain same as CurrentProject:FileName but in lower case. After this process can be automated once for several different projects with (assuming this is in Linux):
Command: cp Parameters: android-build-release-signed.apk /target/%{CurrentProject:FileNameLowcase}.companyname.com.apk Working dir: %{CurrentProject:BuildPath}/android-build/build/outputs/apk