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

androguard failing to extract APK files #913

Open
Farzad85 opened this issue Nov 2, 2022 · 1 comment
Open

androguard failing to extract APK files #913

Farzad85 opened this issue Nov 2, 2022 · 1 comment

Comments

@Farzad85
Copy link

Farzad85 commented Nov 2, 2022

I want to extract API calls using this code:

pp, list_of_dex, dx = AnalyzeAPK(a)
for method in dx.get_methods():
        for _, call, _ in method.get_xref_to():
               # Saving call.

It is supposed to iterate over a folder containing APK files and save the API call list as text files. However, I only got API call files for only 20% of the APK files. During the execution, I am getting an API version warning for some of the APKs:

Requested API level 29 is larger than maximum we have, returning API level 28 instead.

The code is running on a SageMaker notebook with Conda 3 kernel.

@erev0s
Copy link
Collaborator

erev0s commented Dec 31, 2023

@Farzad85 could you please try with the latest version and verify if the issue persists?

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

2 participants