getName() [returns only the file name without directories](http://javadoc.jenkins-ci.org/hudson/FilePath.html#getName()). For example, "foo.txt" for "../abc/foo.txt". If the apk is located in a subdirectory, the solution causes a FileNotFoundException during my tests.