I am trying to setup a f-droid repository on a debian server. I have installed f-droid server, and used fdroid init to initialize the repository. But when trying to access this repository in f-droid client then it gives error with message “error getting index file.”
The repo folder has the file index.xml, apk file and categories.text file. The files other than apk are created by the fdroid update command. I am googling it since 2 days now but none of the solutions help.
I tried removing SSL, installed Android SDK without success. The URL for the repository is correct.
When checking server logs it says that fdroid client tries to access index.jar file. But there is no Jar file in repo folder or main fdroid folder, only index.xml . Any help would be greatly appreciated.
I am trying to setup a f-droid repository on a debian server. I have installed f-droid server, and used fdroid init to initialize the repository. But when trying to access this repository in f-droid client then it gives error with message “error getting index file.”
As you found out, the client does no longer use unsigned,
plaintext/xml index files, but signed jar files.
fdroid update
should generate all you need, if you have setup your signing keys
properly. Maybe your fdroidserver is out-of-date? Which version
do you use, is it pre-packaged in your distribution? Maybe using
fdroidserver’s git master helps?
Are you able to get the logcat messages from the Android device after seeing the error message? That may be equally as helpful as the fdroiserver’s log.
aLogCat unfortunately doesn’t generate anything about F-Droid for me:
Android Log: Jul 20, 2017 13:11:32 GMT+03:00
--------- beginning of main
W/System (12572): ClassLoader referenced unknown path: /data/app/org.jtb.alogcat-1/lib/arm64
W/InputEventReceiver(12572): Attempted to finish an input event but the input event receiver has already been disposed.
W/InputEventReceiver(12572): Attempted to finish an input event but the input event receiver has already been disposed.
W/InputEventReceiver(12572): Attempted to finish an input event but the input event receiver has already been disposed.
W/InputEventReceiver(12572): Attempted to finish an input event but the input event receiver has already been disposed.
W/InputEventReceiver(12572): Attempted to finish an input event but the input event receiver has already been disposed.
W/System (13270): ClassLoader referenced unknown path: /data/app/org.jtb.alogcat-1/lib/arm64