Merge branch 'fixed-cookies' of https://github.com/dpogue/cordova-plugin-file-transfer
diff --git a/src/android/FileTransfer.java b/src/android/FileTransfer.java
index 011a9fd..882bf3f 100644
--- a/src/android/FileTransfer.java
+++ b/src/android/FileTransfer.java
@@ -220,7 +220,7 @@
         try {
             Method gcmMethod = webViewClass.getMethod("getCookieManager");
             Class iccmClass  = gcmMethod.getReturnType();
-            Method gcMethod  = iccmClass.getMethod("getCookie");
+            Method gcMethod  = iccmClass.getMethod("getCookie", String.class);
 
             cookie = (String)gcMethod.invoke(
                         iccmClass.cast(