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

Crap, smali compilation failed. (RuntimeError) #30

Open
uceka opened this issue Jan 15, 2019 · 1 comment
Open

Crap, smali compilation failed. (RuntimeError) #30

uceka opened this issue Jan 15, 2019 · 1 comment

Comments

@uceka
Copy link

uceka commented Jan 15, 2019

Hi, i got an issue. Please follow the code;

dex-oracle dex_2767.dex --disable-plugins bitwiseantiskid,stringdecryptor,undexguard,unreflector,indexedclasslookup -i '/d'

Exception in thread "main" com.beust.jcommander.MissingCommandException: Expected a command, got dex_2767.dex at com.beust.jcommander.JCommander.parseValues(JCommander.java:725) at com.beust.jcommander.JCommander.parse(JCommander.java:304) at com.beust.jcommander.JCommander.parse(JCommander.java:287) at org.jf.baksmali.Main.main(Main.java:90) Optimizing 0 methods over 0 Smali files. Optimizations: Exception in thread "main" com.beust.jcommander.MissingCommandException: Expected a command, got /var/folders/25/3661xv3s1s38s523pmbz27300000gn/T/d20190115-6948-1rg4wpm at com.beust.jcommander.JCommander.parseValues(JCommander.java:725) at com.beust.jcommander.JCommander.parse(JCommander.java:304) at com.beust.jcommander.JCommander.parse(JCommander.java:287) at org.jf.smali.Main.main(Main.java:87) /Users/uceka/.rvm/gems/ruby-2.3.0/gems/dex-oracle-1.0.5/lib/dex-oracle/smali_input.rb:30:incompile': Crap, smali compilation failed. (RuntimeError)
from /Users/uceka/.rvm/gems/ruby-2.3.0/gems/dex-oracle-1.0.5/lib/dex-oracle/smali_input.rb:19:in finish' from /Users/uceka/.rvm/gems/ruby-2.3.0/gems/dex-oracle-1.0.5/bin/dex-oracle:96:in <top (required)>'
from /Users/uceka/.rvm/gems/ruby-2.3.0/bin/dex-oracle:23:in load' from /Users/uceka/.rvm/gems/ruby-2.3.0/bin/dex-oracle:23:in

'
from /Users/uceka/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in eval' from /Users/uceka/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in '

@CalebFenton
Copy link
Owner

Could you try installing the gem from source? The problem is the cli for baksmali changed, I think.

I think I just need to update the gem if that fixes the issue.

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