anismiles/websocket-android-phonegap

Can't compile WebSocketFactory.java

Closed this issue · 1 comments

My version of the sample: http://www.megaupload.com/?d=8N3MUN0C

compile:

[javac] C:\sdk\tools\ant\main_rules.xml:384: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

[javac] Compiling 4 source files to C:\Users\sWORDs\Desktop\NLDELI~2.CON\bin\classes

[javac] C:\Users\sWORDs\Desktop\NLDELI~2.CON\src\com\strumsoft\websocket\phonegap\WebSocketFactory.java:41: duplicate class: com.strumsoft.phonegap.websocket.WebSocketFactory

[javac] public class WebSocketFactory {

[javac]        ^

[javac] C:\Users\sWORDs\Desktop\NLDELI~2.CON\src\com\strumsoft\App.java:31: cannot access com.strumsoft.websocket.phonegap.WebSocketFactory

[javac] bad class file: C:\Users\sWORDs\Desktop\NLDELI~2.CON\src\com\strumsoft\websocket\phonegap\WebSocketFactory.java

[javac] file does not contain class com.strumsoft.websocket.phonegap.WebSocketFactory

[javac] Please remove or make sure it appears in the correct subdirectory of the classpath.

[javac] import com.strumsoft.websocket.phonegap.WebSocketFactory;

[javac]                                        ^

BUILD FAILED

C:\sdk\tools\ant\main_rules.xml:384: Compile failed; see the compiler error output for details.

There was some package mismatch! should work now!