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

FileNotFoundError: [Errno 2] No such file or directory #30

Open
tharsh30 opened this issue May 4, 2020 · 2 comments
Open

FileNotFoundError: [Errno 2] No such file or directory #30

tharsh30 opened this issue May 4, 2020 · 2 comments

Comments

@tharsh30
Copy link

tharsh30 commented May 4, 2020

hello, am new to python & don't know how to fix this issue...can anybody tell me how to solve it?

kali@kali:~/androwarn$ python androwarn.py -i SampleApplication.apk -r html -v 3
[+] Androwarn version 1.6

[+] Loading the APK file...
Traceback (most recent call last):
File "androwarn.py", line 96, in
main()
File "androwarn.py", line 82, in main
a, d, x = AnalyzeAPK(options.input)
File "/home/kali/.local/lib/python3.8/site-packages/androguard/misc.py", line 63, in AnalyzeAPK
a = APK(_file, raw=raw)
File "/home/kali/.local/lib/python3.8/site-packages/androguard/core/bytecodes/apk.py", line 274, in init
self.__raw = bytearray(read(filename))
File "/home/kali/.local/lib/python3.8/site-packages/androguard/util.py", line 13, in read
with open(filename, 'rb' if binary else 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'SampleApplication.apk'

@maaaaz
Copy link
Owner

maaaaz commented May 4, 2020

Hello @tharsh30,
I don't understand you want to analyse "FBlite.apk" but the error is about "SampleApplication.apk".

@tharsh30
Copy link
Author

tharsh30 commented May 4, 2020

Am sorry about that....it's just a copy paste error....consider the both as,
SampleApplication.apk
Why am getting like this when I need to scan the related apk? & now I updated that one

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