Can't install cordova-plugin-file

I just installed the cordova-plugin-file plugin and it throws an error when trying to run the application on my android device:

.../local/cordova-build/platforms/android/src/org/apache/cordova/filetransfer/FileTransfer.java:59: error: package org.apache.cordova.file does not exist import org.apache.cordova.file.FileUtils;

I’m not sure exactly what it means. As I can see it raises from another plugin filetransfer which I never installed. I tried doing it by adding the cordova-plugin-file-transfer but the error remains. Any ideas?

Remove it an reinstall. This sometimes works.