Jump to content

Recommended Posts

Posted

I wanted to run qark (Quick Android Review Kit) https://github.com/linkedin/qark/but it gave me this error when I tried to run it with the command sudo python qark.py

Traceback (most recent call last):

File "qark.py", line 288, in <module>

common.checkJavaVersion()

File "/home/anonymous/qark/modules/common.py", line 217, in checkJavaVersion

process = subprocess.Popen(["java","-version"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)

File "/usr/lib/python2.7/subprocess.py", line 710, in __init__

errread, errwrite)

File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child

raise child_exception

OSError: [Errno 2] No such file or directory

Posted

Sounds like there's no java installed on the system, which would still be a flaw in the script as it's a situation that's trivially detectable.

Posted

Now I get this error

Traceback (most recent call last):

File "qark.py", line 613, in <module>

unpackAPK.decompile(common.pathToDEX)

File "/home/anonymous/qark/modules/unpackAPK.py", line 127, in decompile

zf = zipfile.ZipFile(common.pathToJar)

File "/usr/lib/python2.7/zipfile.py", line 756, in __init__

self.fp = open(file, modeDict[mode])

IOError: [Errno 2] No such file or directory: '/home/anonymous/qark/sampleApps/goatdroid/goatdroid/classes_dex2jar.jar'

Posted

Clearly you're missing that file. So find it and put it there. Alternatively, the path suggests it's a sample so you should be able to just ignore it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...