To build FlowDroid in Eclipse in Ubuntu 12.04:
sudo apt-get install openjdk-7-jdk openjdk-7-jre-headless
. If necessary, do sudo apt-get update
first.).
apt-get
gives a “status file could not be parsed” error, see http://askubuntu.com/questions/30072/.
sudo apt-get install eclipse
" (but the Android ADT version might also work).
sudo apt-get remove openjdk-6-jre openjdk-6-jre-headless
). FlowDroid doesn't work with JDK 1.6.
sudo apt-get install git eclipse-egit
~/workspaces/didfail
; if you use a different directory for your workspace, substitute it where appropriate in these instructions.
~/git/soot-infoflow-latest
and ~/git/soot-infoflow-android-latest
. With this option, do the following after building FlowDroid:
~/workspaces/didfail/soot-infoflow
and ~/workspaces/didfail/soot-infoflow-android
. (Note that the “-latest” suffix has been removed.) Eclipse seems to get really flaky if you do this. If you can't import the projects after cloning, do the following to import into the workspace: File > Import > General > Existing Projects into Workspace. If the build path for soot-infoflow-android is broken, right-click on soot-infoflow-android in Project Explorer and choose Properties from the menu, then click Java Build Path, then Projects, and add soot-infoflow and remove "soot-infoflow (missing)".
Additional documentation from the FlowDroid team on how to build and run FlowDroid: https://github.com/secure-software-engineering/soot-infoflow-android/wiki