04-04 13:46:54.465 1152-1152/com.example.puen.connectmysqltest E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.puen.connectmysqltest, PID: 1152
java.lang.IllegalStateException: Could not execute method for android:onClick
at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:293)
at android.view.View.performClick(View.java:4438)
at android.view.View$PerformClick.run(View.java:18422)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288)
at android.view.View.performClick(View.java:4438)
at android.view.View$PerformClick.run(View.java:18422)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.puen.connectmysqltest/com.example.puen.connectmysqltest.Register}; have you declared this activity in your AndroidManifest.xml?
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1628)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1424)
at android.app.Activity.startActivityForResult(Activity.java:3424)
at android.app.Activity.startActivityForResult(Activity.java:3385)
at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:843)
at android.app.Activity.startActivity(Activity.java:3627)
at android.app.Activity.startActivity(Activity.java:3595)
at com.example.puen.connectmysqltest.MainActivity.userReg(MainActivity.java:18)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288)
at android.view.View.performClick(View.java:4438)
at android.view.View$PerformClick.run(View.java:18422)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
Event Log
11:48:41 PM Adb connection Error:An existing connection was forcibly closed by the remote host
11:48:41 PM Sending Tracking request failed!
11:48:41 PM Adb connection Error:An existing connection was forcibly closed by the remote host
11:48:42 PM Connection attempts: 1
11:48:44 PM Connection attempts: 2
11:48:46 PM Connection attempts: 3
11:48:49 PM Connection attempts: 4
11:48:49 PM Genymotion: Refresh: success
11:48:50 PM Connection attempts: 5
11:48:52 PM Connection attempts: 6
11:49:04 PM Connection attempts: 7
11:49:04 PM Connection attempts: 8
11:49:04 PM Connection attempts: 9
11:49:04 PM Connection attempts: 10
11:49:04 PM Connection attempts: 11
12:03:09 AM Executing tasks: [:app:assembleDebug]
12:06:33 AM Gradle build finished in 3m 38s 319ms
12:10:33 AM Session 'app': Error
12:14:22 AM Adb connection Error:An existing connection was forcibly closed by the remote host
12:14:23 AM Connection attempts: 1
12:14:25 AM Connection attempts: 2
12:14:27 AM Connection attempts: 3
12:14:29 AM Connection attempts: 4
12:14:31 AM Connection attempts: 5
12:14:33 AM Connection attempts: 6
12:14:35 AM Connection attempts: 7
12:14:37 AM Connection attempts: 8
12:14:39 AM Connection attempts: 9
12:14:41 AM Connection attempts: 10
12:14:43 AM Connection attempts: 11