here is log file:

08-26 01:06:55.988: WARN/dalvikvm(1362): VFY: register1 v2 type 12,
wanted 11
08-26 01:06:55.988: WARN/dalvikvm(1362): VFY:  rejecting opcode 0x71
at 0x0204
08-26 01:06:55.998: WARN/dalvikvm(1362): Exception Ljava/lang/
VerifyError; thrown during Lcom/jscape/inet/ftp/Ftp;.<clinit>
08-26 01:06:55.998: DEBUG/AndroidRuntime(1362): Shutting down VM
08-26 01:06:56.008: WARN/dalvikvm(1362): threadid=3: thread exiting
with uncaught exception (group=0x4000fe70)
08-26 01:06:56.008: ERROR/AndroidRuntime(1362): Uncaught handler:
thread main exiting due to uncaught exception
08-26 01:06:56.028: ERROR/AndroidRuntime(1362):
java.lang.ExceptionInInitializerError
08-26 01:06:56.028: ERROR/AndroidRuntime(1362):     at
com.download.Download.download(Download.java:23)
08-26 01:06:56.028: ERROR/AndroidRuntime(1362):     at
com.download.Download.onCreate(Download.java:17)
08-26 01:06:56.028: ERROR/AndroidRuntime(1362):     at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1123)
08-26 01:06:56.028: ERROR/AndroidRuntime(1362):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2231)
08-26 01:06:56.028: ERROR/AndroidRuntime(1362):     at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2284)
08-26 01:06:56.028: ERROR/AndroidRuntime(1362):     at
android.app.ActivityThread.access$1800(ActivityThread.java:112)
08-26 01:06:56.028: ERROR/AndroidRuntime(1362):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
08-26 01:06:56.028: ERROR/AndroidRuntime(1362):     at
android.os.Handler.dispatchMessage(Handler.java:99)
08-26 01:06:56.028: ERROR/AndroidRuntime(1362):     at
android.os.Looper.loop(Looper.java:123)
08-26 01:06:56.028: ERROR/AndroidRuntime(1362):     at
android.app.ActivityThread.main(ActivityThread.java:3948)
08-26 01:06:56.028: ERROR/AndroidRuntime(1362):     at
java.lang.reflect.Method.invokeNative(Native Method)
08-26 01:06:56.028: ERROR/AndroidRuntime(1362):     at
java.lang.reflect.Method.invoke(Method.java:521)
08-26 01:06:56.028: ERROR/AndroidRuntime(1362):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:782)
08-26 01:06:56.028: ERROR/AndroidRuntime(1362): Caused by:
java.lang.VerifyError: b.a.a.c.b.i
08-26 01:06:56.028: ERROR/AndroidRuntime(1362):     at
com.jscape.util.a.b.<init>(Unknown Source)
08-26 01:06:56.028: ERROR/AndroidRuntime(1362):     at
com.jscape.inet.ftp.Ftp.<clinit>(Unknown Source)
08-26 01:06:56.028: ERROR/AndroidRuntime(1362):     ... 15 more





On Aug 26, 12:56 am, Jason Proctor <[email protected]>
wrote:
> unless you post the error you're seeing, everyone here is flying blind.
>
> thanks.
>
>
>
>
>
> >Anyone who used ftp client before can understand my problem or can
> >give some suggestion. My problem is this this code piece work in java
> >project succesfully but when I try it in android error gives. I think
> >thhere are some limitations and I want to learn what are possible
> >problems.
>
> >On Aug 26, 12:35 am, Jason Proctor <[email protected]>
> >wrote:
> >>  some people on this list are clever, but they're not mind-readers.
>
> >>  polite request to posters: POST ALL THE ERROR INFORMATION YOU CAN.
>
> >>  thanks.
>
> >>  >Hi I am tryin to connect server and download file from server. Here is
> >>  >my code
>
> >>  >Ftp ftp = new Ftp("hostname","user","password");
> >>  >            try {
> >>  >                    ftp.connect();
> >>  >                    ftp.setLocalDir(new File("/sdcard"));
> >>  >                    ftp.setDir("test");
> >>  >                    ftp.download("Button.apk");
> >>  >                    ftp.disconnect();
>
> >>  >            } catch (FtpException e) {
> >>  >                    e.printStackTrace();
> >>  >            }
> >>  >I included external jar and imported com.jscape.inet.ftp.Ftp; this
> >>  >code run succesfully in java but when I loaded to android it gives
> >>  >error.
> >>  >1)Is there any resriction to connect ftp server or using external jar?
> >>  >2) Any other alternatives that I can use?
>
> >>  --
> >>  jason.vp.engineering.particle- Hide quoted text -
>
> >>  - Show quoted text -
>
> --
> jason.vp.engineering.particle- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to