Anonymous123 Posted October 17, 2015 Share Posted October 17, 2015 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 Quote Link to comment Share on other sites More sharing options...
cooper Posted October 19, 2015 Share Posted October 19, 2015 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. Quote Link to comment Share on other sites More sharing options...
Anonymous123 Posted October 24, 2015 Author Share Posted October 24, 2015 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' Quote Link to comment Share on other sites More sharing options...
cooper Posted October 25, 2015 Share Posted October 25, 2015 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.