Failed to find any output apks


I’m trying to set up my own fdroid server for testing metadata. I installed fdroidserver via apt (Debian 9), downloaded the android sdk, changed $PATH, initialize the repo, read the metadata.
When I try to build an app, I see the following error:

INFO: Successfully built version 2.0.31 of org.openhab.habdroid
ERROR: Could not build app org.openhab.habdroid: Failed to find any output apks
INFO: Finished.
INFO: 1 builds failed

Find finds an apk:

$ find build/org.openhab.habdroid/ -name "*apk" -type f

I installed fdroidserver via apt (Debian 9)

It might be too old to handle recent Android Gradle plugin. Try fdroidserver from git.

1 Like

Yeah, in general, when building apps with fdroidserver, you need to use the git version. The Debian packages are stable enough for most of the other things it can do, like making and publishing repos from APK files.


What version of fdroidserver are you using? 0.7.0-2 or 1.0.2-1~bpo9+1 (from Debian backports)?
I’m using 1.0.2-1~bpo9+1 and it works well.

I installed the git version, so I don’t know which version I had downloaded from the debian repo.

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