soot.SootResolver$SootClassNotFoundException: couldn't find class: sun.misc.Unsafe (is your soot-class-path set properly?)
at soot.SootResolver.bringToHierarchyUnchecked(SootResolver.java:232)
at soot.SootResolver.bringToHierarchy(SootResolver.java:214)
at soot.SootResolver.processResolveWorklist(SootResolver.java:175)
at soot.SootResolver.resolveClass(SootResolver.java:134)
at soot.dexpler.DexlibWrapper.initialize(DexlibWrapper.java:150)
at soot.dexpler.DexResolver.initializeDexFile(DexResolver.java:81)
at soot.dexpler.DexResolver.resolveFromFile(DexResolver.java:62)
at soot.DexClassSource.resolve(DexClassSource.java:63)
at soot.SootResolver.bringToHierarchyUnchecked(SootResolver.java:240)
at soot.SootResolver.bringToHierarchy(SootResolver.java:214)
at soot.SootResolver.bringToSignatures(SootResolver.java:279)
at soot.SootResolver.processResolveWorklist(SootResolver.java:172)
at soot.SootResolver.resolveClass(SootResolver.java:134)
at soot.Scene.loadClass(Scene.java:968)
at soot.Scene.loadClassAndSupport(Scene.java:953)
at soot.Scene.loadNecessaryClasses(Scene.java:1775)
at soot.Main.run(Main.java:241)
at soot.Main.main(Main.java:141)
at com.company.AndroidInstrument.main(AndroidInstrument.java:83)
Steps to reproduce: 1.) ...
Files used to reproduce: ...
Soot version:
Command line:
Max Memory:
Stack trace:
can you help I used this guide: https://github.com/Sable/soot/wiki/Instrumenting-Android-Apps-with-Soot I did everything as you wrote there, can you help pls? If issue is with soot-class-path, then how to set it?