Update problem with local repo

I’m running a local fdroid server, version 2.1-538-g282a7724, configured as described in Setup an F-Droid App Repo | F-Droid - Free and Open Source Android App Repository.
I want to add one of my apps according to the description in Signing Process | F-Droid - Free and Open Source Android App Repository.

  1. I create the unsigned directory.
  2. I copy the apk to unsigned/nl.squirrel.shopping_107.apk.
  3. fdroid publish
  4. fdroid.update

No error messages, but the apk is not installed in repo. Sometimes it is still in unsigned, sometimes unsigned is empty (the apk is gone!). Sometimes unsigned is gone, too.

What am I doing wrong?

run fdroid <command> --verbose maybe?

Verbosity gives more messages, but still no clue why the apk disappears.

In the mean time, I found the following to work reliably:

  1. Update versionName and versionCode in build.gradle and (re)build the app.
  2. Copy the apk to unsigned/nl.squirrel.shopping_110.apk (110 = versionCode).
  3. Update CurrentVersion and CurrentVersionCode in the manifest.
  4. fdroid publish; fdroid update

I’ll keep an eye on the ‘disappearing apk’ problem.

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