Adding my first app to f droid


I’m trying to add my app to F-Droid I did the steps according to this

Steps I did:

  1. fdroid import --url --subdir app
  2. Then I edited the metadata file according to this in the metadata folder.
  3. I ran fdroid readmeta
  4. I ran fdroid rewritemeta ID where ID is my correct package ID (I checked this)
  5. I had to commit, because otherwise the next step wouldn’t work
  6. I ran fdroid checkupdates ID where ID is my correct package ID (I checked this)
  7. Then I ran fdroid lint ID where ID is my correct package ID (I checked this)
    Where I always get this message:

“metadata/srclibs/” has no matching metadata file!
“metadata/metadata/” has no matching metadata file!
“metadata/tmp/” has no matching metadata file!

If you need to see my metadata I can upload it aswell. Thanks.


Post the metadata!

Always run lint before rewritemeta

You don’t need to commit, use allow-dirty for checkupdate


Here is the requested metadata:


  • Games
    License: GPL-3.0-or-later
    AuthorName: Phil Roggenbuck
    SourceCode: https:// github com/LuigiTheHunter/DSAAssistant/
    IssueTracker: https:// github com/LuigiTheHunter/DSAAssistant//issues
    Donate: https:// www.paypal me/proggenbuck

AutoName: DSA Assistent
Summary: Ein Helfer für das Schwarze Auge
Description: |-
Ein Helfer für das Schwarze Auge.

* Geldbeutel Manager 2.0
* Kampfszenen und Wunden Manager 1.2
* Würfeln der wichtigsten Würfel 1.0
* GM Ini Manager 1.0

RepoType: git
Repo: https:// github com/LuigiTheHunter/DSAAssistant/


  • versionName: Erebor
    versionCode: 49
    commit: v49
    subdir: app
    • yes

AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: Erebor
CurrentVersionCode: 49

I had to remove the dots and add spacebars to the links because I’m not allowed to post more than 2 Links in one post.

And thanks for the tip to run lint before rewritemeta :wink: and for the checkupdate tip :sunflower:


What is this app about?


It’s about a variety of DnD. Called The Dark Eye, or in german Das schwarze Auge.


I remembered the title after I posted lol.

Now AutoUpdateMode: Version v%v would need to be v%c since v means versionName and yours are rather special (not numeric, not related to the actual Tag). So we change to c and that will use `versionCode’ instead.

Builds fine if we nuke the Test thing in build.gradle by adding under gradle:
prebuild: sed -i -e '/[tT]est/d' -e '/withoutimplement/,+2d' build.gradle

Or you fix it in a different way, the error that I see is:

> Task :app:compileReleaseSources
> Task :app:lintVitalRelease FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:lintVitalRelease'.
> Could not resolve all dependencies for configuration ':app:debugAndroidTestRuntimeClasspath'.
   > Could not load module metadata from /home/strech/.gradle/caches/modules-2/metadata-2.69/descriptors/

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.

13 actionable tasks: 13 executed
1 Like

First of all thanks for clearing things up with the AutoUpdateMode. Interesting that there is this error. On my system it builds fine with fdroid build. I will go ahead and try what you suggesting this morning. Thanks very much in advance. I will post back when I make progress. Thanks alot!


Can you explain the integration?

Regarding the error maybe I’m missing something…but what?


Hmh, well where did you dig that up :smiley: I set this up months ago for testing. Today I found the old links again and removed them. They where just for people to add Feature Requests and Bugs but not are not used anymore. I’m trying to shift to Github Issues now :slight_smile:

1 Like

In the built APK ofcourse:

1 Like

Uh you are right. The link is yet to be removed from there :slight_smile: Thanks. Cool feature from Virustotal I did not know about this until now -


Thanks this fixed it. I actually wanted to get some sleep. But this whole F-Droid thing just makes me so happy, that I couldn’t resist to try it again right now 3 in the morning :blush:

Thank’s for your help again!