Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The plugin doesn't work with Cordova 2.3.0 #1

Open
ilPas opened this issue Jan 18, 2013 · 5 comments
Open

The plugin doesn't work with Cordova 2.3.0 #1

ilPas opened this issue Jan 18, 2013 · 5 comments

Comments

@ilPas
Copy link

ilPas commented Jan 18, 2013

I have tried to install this plugin in my Android application on Eclipse but there are those problems:

Description Resource Path Location Type
PluginResult cannot be resolved to a type FtpClient.java /Backup1/src/com/phonegap/plugins/ftpclient line 44 Java Problem
The method execute(String, JSONArray, String) of type FtpClient must override or implement a supertype method FtpClient.java /Backup1/src/com/phonegap/plugins/ftpclient line 44 Java Problem
PluginResult cannot be resolved to a type FtpClient.java /Backup1/src/com/phonegap/plugins/ftpclient line 45 Java Problem
PluginResult cannot be resolved to a variable FtpClient.java /Backup1/src/com/phonegap/plugins/ftpclient line 45 Java Problem
PluginResult cannot be resolved to a type FtpClient.java /Backup1/src/com/phonegap/plugins/ftpclient line 59 Java Problem
PluginResult cannot be resolved to a type FtpClient.java /Backup1/src/com/phonegap/plugins/ftpclient line 61 Java Problem
PluginResult cannot be resolved to a variable FtpClient.java /Backup1/src/com/phonegap/plugins/ftpclient line 61 Java Problem
PluginResult cannot be resolved to a type FtpClient.java /Backup1/src/com/phonegap/plugins/ftpclient line 63 Java Problem
PluginResult cannot be resolved to a type FtpClient.java /Backup1/src/com/phonegap/plugins/ftpclient line 65 Java Problem
PluginResult cannot be resolved to a variable FtpClient.java /Backup1/src/com/phonegap/plugins/ftpclient line 63 Java Problem
PluginResult cannot be resolved to a variable FtpClient.java /Backup1/src/com/phonegap/plugins/ftpclient line 65 Java Problem
The import com.phonegap.api cannot be resolved FtpClient.java /Backup1/src/com/phonegap/plugins/ftpclient line 27 Java Problem
The import com.phonegap.api cannot be resolved FtpClient.java /Backup1/src/com/phonegap/plugins/ftpclient line 28 Java Problem
The import com.phonegap.api cannot be resolved FtpClient.java /Backup1/src/com/phonegap/plugins/ftpclient line 29 Java Problem
Plugin cannot be resolved to a type FtpClient.java /Backup1/src/com/phonegap/plugins/ftpclient line 31 Java Problem

@macdonst
Copy link
Owner

Pushed an updated. Try it on 2.2.0+. If it works close this issue.

@ilPas
Copy link
Author

ilPas commented Jan 21, 2013

Hi Simon!
I try it with 2.2.0 but when i launched the application Eclipse returned this errors:
[2013-01-21 10:12:07 - Dex Loader] Unable to execute dex: Multiple dex files define Lorg/apache/cordova/AccelListener$1;
[2013-01-21 10:12:07 - AppName] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lorg/apache/cordova/AccelListener$1;

I have follows yours instructions but doesn't works... :(
I have also cleaned the project and rebuild tha app but nothing!

@macdonst
Copy link
Owner

It looks like you have two copies of cordova.jar in your libs folder.

@singh-sta
Copy link

same problem here in my project but there is only one cordova .jar in libs folder

@WillRibeiro
Copy link

look at: NameProject > assets > www > *.jar
and
NameProject > libs > *.jar

there is the problem if u have two copies of cordova, i have this problem today, and the solution of macdonst have solved here =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants