[Soot-list] Android Instrumentation Example: -android-jars not recognized

Behnam behnam at eecs.tufts.edu
Thu Mar 16 03:09:42 EDT 2017


Hi All,


I am trying to run the AndroidInstrument example from here 
<https://github.com/Sable/soot/wiki/Instrumenting-Android-Apps-with-Soot> 
on my app. But I get an error when I run the following command.

behnam at behnam-Precision-T1600:~/tcal/responsiveness/soot/stable$ 
/usr/lib/jvm/java-1.7.0-openjdk-amd64/bin/java -cp soot-2.5.0.jar 
soot.Main -cp . -pp  AndroidInstrument -android-jars 
/home/behnam/tcal/responsiveness/soot/stable/android-platforms 
-process-dir respdroid.apk

Invalid option -android-jars
Exception in thread "main" soot.CompilationDeathException: Option parse 
error
     at soot.Main.processCmdLine(Main.java:85)
     at soot.Main.run(Main.java:161)
     at soot.Main.main(Main.java:141)

Any help is much appreciated.


Bests,

-Behnam

--
Behnam Heydarshahi
PhD Student
Department of Computer Science
Tufts University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20170316/e86be829/attachment.html>


More information about the Soot-list mailing list