diff --git a/HeadlessAndroidScanner/pom.xml b/HeadlessAndroidScanner/pom.xml
index 16c48373c..a5feeef56 100644
--- a/HeadlessAndroidScanner/pom.xml
+++ b/HeadlessAndroidScanner/pom.xml
@@ -38,7 +38,7 @@
- 2.13.0
+ 2.14.1
diff --git a/HeadlessAndroidScanner/src/main/java/de/fraunhofer/iem/android/FlowDroidSetup.java b/HeadlessAndroidScanner/src/main/java/de/fraunhofer/iem/android/FlowDroidSetup.java
index 09c56e4e5..1f4999bc3 100644
--- a/HeadlessAndroidScanner/src/main/java/de/fraunhofer/iem/android/FlowDroidSetup.java
+++ b/HeadlessAndroidScanner/src/main/java/de/fraunhofer/iem/android/FlowDroidSetup.java
@@ -51,8 +51,8 @@ private SetupApplication initializeFlowDroid() {
InfoflowAndroidConfiguration config = new InfoflowAndroidConfiguration();
config.setCallgraphAlgorithm(InfoflowConfiguration.CallgraphAlgorithm.CHA);
config.setCodeEliminationMode(InfoflowConfiguration.CodeEliminationMode.NoCodeElimination);
- config.getAnalysisFileConfig().setAndroidPlatformDir(platformDir.getAbsolutePath());
- config.getAnalysisFileConfig().setTargetAPKFile(apkFile.getAbsolutePath());
+ config.getAnalysisFileConfig().setAndroidPlatformDir(platformDir);
+ config.getAnalysisFileConfig().setTargetAPKFile(apkFile);
config.setMergeDexFiles(true);
config.setTaintAnalysisEnabled(false);
config.setEnableLineNumbers(true);