Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to scan the latest APKS #38

Open
alavalas1 opened this issue Nov 20, 2024 · 0 comments
Open

Unable to scan the latest APKS #38

alavalas1 opened this issue Nov 20, 2024 · 0 comments

Comments

@alavalas1
Copy link

[+] Loading the APK file...
Requested API level 1000 is larger than maximum we have, returning API level 28 instead.
Traceback (most recent call last):
File "/home/intel/andro_check/androwarn/venv/lib/python3.7/site-packages/androguard/core/bytecodes/apk.py", line 1506, in get_android_resources
return self.arsc["resources.arsc"]
KeyError: 'resources.arsc'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "androwarn.py", line 96, in
main()
File "androwarn.py", line 86, in main
data = perform_analysis(options.input, a, d, x, options.with_playstore_lookup)
File "/home/intel/andro_check/androwarn/warn/analysis/analysis.py", line 53, in perform_analysis
( 'application_name', [grab_application_name(a)] ),
File "/home/intel/andro_check/androwarn/warn/search/application/application.py", line 44, in grab_application_name
return apk.get_app_name()
File "/home/intel/andro_check/androwarn/venv/lib/python3.7/site-packages/androguard/core/bytecodes/apk.py", line 477, in get_app_name
res_parser = self.get_android_resources()
File "/home/intel/andro_check/androwarn/venv/lib/python3.7/site-packages/androguard/core/bytecodes/apk.py", line 1512, in get_android_resources
self.arsc["resources.arsc"] = ARSCParser(self.zip.read("resources.arsc"))
File "/home/intel/andro_check/androwarn/venv/lib/python3.7/site-packages/androguard/core/bytecodes/axml/init.py", line 1313, in init
self.packages[package_name].append(ARSCResTypeSpec(self.buff, pc))
File "/home/intel/andro_check/androwarn/venv/lib/python3.7/site-packages/androguard/core/bytecodes/axml/init.py", line 2173, in init
raise ResParserError("res1 must be zero!")
androguard.core.bytecodes.axml.ResParserError: res1 must be zero!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant