Hi Thank you
We are facing two errors, tried to import apk by import-apks.py it gives following error
root@remote:/data/repo-server# python3 import-apks.py SecureNet_v1.1.10A.apk
importing SecureNet_v1.1.10A.apk
W/ziparchive(732097): Unable to open 'badging': No such file or directory
badging: error: No such file or directory.
Traceback (most recent call last):
File "import-apks.py", line 14, in <module>
badging = subprocess.check_output(["aapt2", "dump", "badging", path])
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['aapt2', 'dump', 'badging', 'SecureNet_v1.1.10A.apk']' returned non-zero exit status 1.
Then tried by placing apk in apps/packages and then generate2.py it gives following error.
root@remote:/data/repo-server# python3 generate2.py
Traceback (most recent call last):
File "generate2.py", line 59, in <module>
pkg_signatures = common_props["signatures"]
KeyError: 'signatures'
root@remote:/data/repo-server#