"fdroid update" command fails when apk is built with com.android.tools.build:gradle:2.2.1, buildToolsVersion "24.0.3"
My apk is built with com.android.tools.build:gradle:2.2.1, buildToolsVersion "24.0.3". When running
fdroid update
it results in:
Unknown exception found!
Traceback (most recent call last):
File "/usr/local/Cellar/fdroidserver/0.4.0/libexec/bin/fdroid", line 115, in <module>
main()
File "/usr/local/Cellar/fdroidserver/0.4.0/libexec/bin/fdroid", line 93, in main
mod.main()
File "/usr/local/Cellar/fdroidserver/0.4.0/libexec/lib/python2.7/site-packages/fdroidserver/update.py", line 1130, in main
apks, cc = scan_apks(apps, apkcache, repodirs[0], knownapks)
File "/usr/local/Cellar/fdroidserver/0.4.0/libexec/lib/python2.7/site-packages/fdroidserver/update.py", line 555, in scan_apks
dt_obj = datetime(*info.date_time)
ValueError: month must be in 1..12
I think the problem is with this line in update.py
:
dt_obj = datetime(*info.date_time)
It somehow can not get date time from the apk.
I down graded my build tools, now "fdroid update" is working ok.
But just want to know if this is a android build tool problem or a fdroid problem.
Thanks