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

Error running dex2jar command #386

Open
giridharkl opened this issue Oct 22, 2021 · 1 comment
Open

Error running dex2jar command #386

giridharkl opened this issue Oct 22, 2021 · 1 comment

Comments

@giridharkl
Copy link

giridharkl commented Oct 22, 2021

Platform:
Windows 10
Python 3.8
Java 1.8.0_191
Qark version 4.0.0

Error:
C:\Users\yyyyyyyyyyyyyyy>qark --apk .\Downloads\xxxxxxxxxxyyyyyyyyyyyyyyy.apk
Decompiling...
Error running dex2jar command: b'C:\\Users\\yyyyyyyyyyyyyy\\AppData\\Roaming\\Python\\Python38\\site-packages\\qark\\decompiler\\..\\lib\\dex2jar-2.0\\d2j-dex2jar.bat C:\\Users\\yyyyyyyyyyyy\\build\\qark\\classes.dex -o C:\\Users\\yyyyyyyyy\\build\\qark\\xxxxxxxyyyyyyyyyy.jar'
Traceback (most recent call last):
File "C:\Users\yyyyyyyyyyyy\AppData\Roaming\Python\Python38\site-packages\qark\decompiler\decompiler.py", line 206, in _run_dex2jar
ret_code = subprocess.call(shlex.split(dex2jar_command))
File "c:\python38\lib\shlex.py", line 311, in split
return list(lex)
File "c:\python38\lib\shlex.py", line 300, in next
token = self.get_token()
File "c:\python38\lib\shlex.py", line 109, in get_token
raw = self.read_token()
File "c:\python38\lib\shlex.py", line 140, in read_token
nextchar = self.instream.read(1)
AttributeError: 'bytes' object has no attribute 'read'
Error running dex2jar command

@masudr4n4
Copy link

Same here python3.9

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