Skip to content

Commit ddca4df

Browse files
Correct APK filename in build script
The build script `BuildApp.py` has been updated to use the correct filename for the generated APK. The script previously looked for `app-{build_type}-release.apk`, but the correct filename uses an underscore, `app_{build_type}_release.apk`. This change ensures that the build script can locate the APK file for subsequent steps.
1 parent 3d51c94 commit ddca4df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BuildApp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def run(cmd):
2222
run(f"gradlew assemble{build_type}Release --no-configuration-cache --refresh-dependencies")
2323
run(f"gradlew bundle{build_type}Release --no-configuration-cache --refresh-dependencies")
2424

25-
apk_path = f"app/build/outputs/apk/{build_type}/release/app-{build_type}-release.apk".lower()
25+
apk_path = f"app/build/outputs/apk/{build_type}/release/app_{build_type}_release.apk".lower()
2626
bundle_path = f"app/build/outputs/bundle/{build_type}Release/app-{build_type}-release.aab".lower()
2727

2828
if os.path.exists(apk_path):

0 commit comments

Comments
 (0)