Sorry hans but maybe I did not understand well
I try to describe you how I developed and published my apk:
- install nodejs and npm
- install cordova with npm
- create a new app "cordova create hello com.example.hello HelloWorld"
- now I have "cordova" to compile my app (which is essentially a web app made with html, js..)
The process to compile my apk is:
- cordova build --release android
which creates an unsigned apk inside platforms/android/build/outputs/apk/android-release-unsigned.apk
For Google Play Store I need to sign my apk with my personal developer's key but I think that with F-Droid is not required (?).
I my personal app all the files are inside the repo https://github.com/friimaind/pi-hole-droid
Please let me know if I can help you further