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

Arzt, Steven steven.arzt at sit.fraunhofer.de
Thu Mar 16 15:19:08 EDT 2017


Hi Behnam,

Soot 2.5 is indeed fairly ancient by now. We really need a new proper release, but unfortunately never got to it so far. I’d recommend to use the nightly builds, they are usually fairly stable.

Best regards,
  Steven

From: Soot-list [mailto:soot-list-bounces at cs.mcgill.ca] On Behalf Of Behnam Heydarshahi
Sent: Thursday, March 16, 2017 8:15 PM
To: soot-list at cs.mcgill.ca
Subject: Re: [Soot-list] Android Instrumentation Example: -android-jars not recognized

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<mailto:behnam at eecs.tufts.edu>> wrote:
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
_______________________________________________
Soot-list mailing list
Soot-list at CS.McGill.CA<mailto: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/2b86d06d/attachment.html>


More information about the Soot-list mailing list