Could not build app : No apks match

Hi everyone! I’m trying to contribute my first app to F-Droid bu I have a problem with build pipeline. As in the title I specify where the output apk should be but it’;s not there. How can I debug to see where the apk file is stored?

I set the output to be in app/ fdroid/release/app-fdroid-release.apk as this is the location I have the apk when building signed in Android Studio.

Here is my .yml:
software.mdev.bookstracker.yml

Here is link to source code:
Github

Here is log from my pipeline:

BUILD SUCCESSFUL in 8m 25s
40 actionable tasks: 40 executed
2022-04-22 21:51:26,424 DEBUG: Popen([‘git’, ‘cat-file’, ‘–batch-check’], cwd=/builds/m1645/fdroiddata/build/software.mdev.bookstracker, universal_newlines=False, shell=None)
2022-04-22 21:51:26,691 INFO: Successfully built version 1.13.0 of software.mdev.bookstracker from 0cd31b86f14c51ae4f18e13c918c23a6e05e2076
2022-04-22 21:51:26,836 ERROR: Could not build app software.mdev.bookstracker: No apks match build/software.mdev.bookstracker/app/fdroid/release/app-fdroid-release.apk
2022-04-22 21:51:26,836 DEBUG: Error encoutered, stopping by user request.
Uploading artifacts for failed job
Uploading artifacts…
WARNING: repo/: no matching files
unsigned/: found 1 matching files and directories
tmp/: found 1 matching files and directories
Uploading artifacts as “archive” to coordinator… 201 Created id=2367592705 responseStatus=201 Created token=mBjz9dyx
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

I guess the correct output path is app/build/fdroid/release/*.apk which is the default path. Just remove the output and try again.

1 Like

Yes, I deleted the output and build was successful, thank you!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.