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

Behnam Heydarshahi behnam at eecs.tufts.edu
Thu Mar 16 15:14:51 EDT 2017


I fixed this issue by using a more recent version of Soot jar.

Behnam

> On Mar 16, 2017, at 3:09 AM, Behnam <behnam at eecs.tufts.edu> wrote:
> 
> Hi All,
> 
> 
> I am trying to run the AndroidInstrument example from here 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
> _______________________________________________
> Soot-list mailing list
> Soot-list at CS.McGill.CA
> https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20170316/fd251b41/attachment.html>


More information about the Soot-list mailing list