05-30 18:02:07.061: D/AndroidRuntime(13153): Shutting down VM
05-30 18:02:07.061: W/dalvikvm(13153): threadid=1: thread exiting with uncaught exception (group=0x422f0c08)
05-30 18:02:07.061: E/AndroidRuntime(13153): FATAL EXCEPTION: main
05-30 18:02:07.061: E/AndroidRuntime(13153): Process: com.example.client, PID: 13153
05-30 18:02:07.061: E/AndroidRuntime(13153): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.client/com.example.client.MainActivity}: android.os.NetworkOnMainThreadException
05-30 18:02:07.061: E/AndroidRuntime(13153): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2436)
05-30 18:02:07.061: E/AndroidRuntime(13153): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2495)
05-30 18:02:07.061: E/AndroidRuntime(13153): at android.app.ActivityThread.access$900(ActivityThread.java:170)
05-30 18:02:07.061: E/AndroidRuntime(13153): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1304)
05-30 18:02:07.061: E/AndroidRuntime(13153): at android.os.Handler.dispatchMessage(Handler.java:102)
05-30 18:02:07.061: E/AndroidRuntime(13153): at android.os.Looper.loop(Looper.java:146)
05-30 18:02:07.061: E/AndroidRuntime(13153): at android.app.ActivityThread.main(ActivityThread.java:5635)
05-30 18:02:07.061: E/AndroidRuntime(13153): at java.lang.reflect.Method.invokeNative(Native Method)
05-30 18:02:07.061: E/AndroidRuntime(13153): at java.lang.reflect.Method.invoke(Method.java:515)
05-30 18:02:07.061: E/AndroidRuntime(13153): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
05-30 18:02:07.061: E/AndroidRuntime(13153): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
05-30 18:02:07.061: E/AndroidRuntime(13153): at dalvik.system.NativeStart.main(Native Method)
05-30 18:02:07.061: E/AndroidRuntime(13153): Caused by: android.os.NetworkOnMainThreadException
05-30 18:02:07.061: E/AndroidRuntime(13153): at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1166)
05-30 18:02:07.061: E/AndroidRuntime(13153): at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:84)
05-30 18:02:07.061: E/AndroidRuntime(13153): at libcore.io.IoBridge.connectErrno(IoBridge.java:127)
05-30 18:02:07.061: E/AndroidRuntime(13153): at libcore.io.IoBridge.connect(IoBridge.java:112)
05-30 18:02:07.061: E/AndroidRuntime(13153): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
05-30 18:02:07.061: E/AndroidRuntime(13153): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)
05-30 18:02:07.061: E/AndroidRuntime(13153): at java.net.Socket.connect(Socket.java:843)
05-30 18:02:07.061: E/AndroidRuntime(13153): at org.apache.commons.net.SocketClient.connect(SocketClient.java:182)
05-30 18:02:07.061: E/AndroidRuntime(13153): at org.apache.commons.net.SocketClient.connect(SocketClient.java:203)
05-30 18:02:07.061: E/AndroidRuntime(13153): at com.example.client.FTPConnector.login(FTPConnector.java:86)
05-30 18:02:07.061: E/AndroidRuntime(13153): at com.example.client.MainActivity.onCreate(MainActivity.java:33)
05-30 18:02:07.061: E/AndroidRuntime(13153): at android.app.Activity.performCreate(Activity.java:5580)
05-30 18:02:07.061: E/AndroidRuntime(13153): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
05-30 18:02:07.061: E/AndroidRuntime(13153): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2400)
05-30 18:02:07.061: E/AndroidRuntime(13153): ... 11 more
댓글 분란 또는 분쟁 때문에 전체 댓글이 블라인드 처리되었습니다.