diff --git a/fdroidserver/build.py b/fdroidserver/build.py index d7a7144e..71aca20a 100644 --- a/fdroidserver/build.py +++ b/fdroidserver/build.py @@ -206,6 +206,10 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, extlib_dir, tmp_dir, if not m: m = re.match(r".*^\[INFO\] Creating additional unsigned apk file .*/([^/]+)\.apk", output, re.S|re.M) + if not m: + # This format is found in com.github.mobile for example... + m = re.match(r".*^\[INFO\] [^$]*aapt \[package,[^$]*" + app['id'] + "/app/target/([^$]+)\.ap_\]", + output, re.S|re.M) if not m: print output raise BuildException('Failed to find output')