secure-software-engineering / FlowDroid

FlowDroid Static Data Flow Tracker
GNU Lesser General Public License v2.1
1.05k stars 298 forks source link

mvn install error #452

Open GeniusPudding opened 2 years ago

GeniusPudding commented 2 years ago

image Hi! I'm a beginner of maven and Flowdroid. I tried to use this tool for starting research on dataflow features on android apks. However, I got error when using "mvn install", as shown in the png.

I will be grateful for any help you can provide!

StevenArzt commented 2 years ago

The current development version of FlowDroid depends on a refactoring from the current Soot development branch. You'll need to build Soot from source as well, or use the last official FlowDroid build from Maven Central instead.

GeniusPudding commented 2 years ago

The current development version of FlowDroid depends on a refactoring from the current Soot development branch. You'll need to build Soot from source as well, or use the last official FlowDroid build from Maven Central instead.

Thanks for your reply! However, I think I don't really understand what it means " build Soot from source", and which version of FlowDroid is the last one that can be built by mvn.

StevenArzt commented 2 years ago

Before you try to build FlowDroid using, e.g., mvn package, clone the Soot repository and run mvn install on it.

GeniusPudding commented 2 years ago

image

It seems that soot can't be installed by mvn correctly. Is there something I haven't noticed?

StevenArzt commented 2 years ago

Make sure that you have a JDK, not only a JVM.