I am trying to create my first app using the tutorial from the android developer website using eclipse and the android sdk. None of the solutions in the tutorial have worked for me or I couldn't understand them.
Here is a copy of the log cat
E/libEGL(52): called unimplemented OpenGL ES API
08-18 06:45:31.480: E/libEGL(52): called unimplemented OpenGL ES API
08-18 06:45:31.480: E/libEGL(52): called unimplemented OpenGL ES API
08-18 06:45:31.480: E/libEGL(52): called unimplemented OpenGL ES API
08-18 06:45:31.490: E/SurfaceFlinger(52): glCheckFramebufferStatusOES error 2145533285
08-18 06:45:31.490: E/SurfaceFlinger(52): got GL_FRAMEBUFFER_COMPLETE_OES error while taking screenshot
08-18 06:45:31.490: E/libEGL(52): called unimplemented OpenGL ES API
08-18 06:45:31.490: E/libEGL(52): called unimplemented OpenGL ES API
08-18 06:45:31.490: W/WindowManager(354): Screenshot failure taking screenshot for (164x246) to layer 21005
08-18 06:45:31.520: D/rpctransport(487): sendRpc: failed: 7
08-18 06:45:32.650: D/GridViewPager(470): Populate in layout
08-18 06:45:32.830: I/Choreographer(470): Skipped 121 frames! The application may be doing too much work on its main thread.
08-18 06:45:32.880: D/rpctransport(487): sendRpc: failed: 8
08-18 06:45:32.890: D/rpctransport(487): sendRpc: failed: 9
08-18 06:45:32.910: D/FakeRecognitionService(470): state = STATE_LISTENING
08-18 06:45:32.910: D/FakeRecognitionService(470): schedule SpeechTimeout in 3000 millis
08-18 06:45:32.910: I/Choreographer(470): Skipped 48 frames! The application may be doing too much work on its main thread.
08-18 06:45:33.060: I/Choreographer(470): Skipped 88 frames! The application may be doing too much work on its main thread.
08-18 06:45:33.200: W/PropertyValuesHolder(470): Method getClipProgressAnim() with type float not found on target class class com.google.android.clockwork.home.cuecard.VoicePlateFragment
08-18 06:45:33.290: I/Choreographer(470): Skipped 69 frames! The application may be doing too much work on its main thread.
08-18 06:45:33.370: I/Choreographer(470): Skipped 50 frames! The application may be doing too much work on its main thread.
08-18 06:45:33.470: I/Choreographer(470): Skipped 59 frames! The application may be doing too much work on its main thread.
08-18 06:45:33.560: I/Choreographer(470): Skipped 52 frames! The application may be doing too much work on its main thread.
08-18 06:45:33.650: I/Choreographer(470): Skipped 50 frames! The application may be doing too much work on its main thread.
08-18 06:45:33.660: E/RecyclerView(470): No adapter attached; skipping layout
08-18 06:45:33.760: I/Choreographer(470): Skipped 59 frames! The application may be doing too much work on its main thread.
08-18 06:45:33.760: D/FakeRecognitionService(470): cancel()
08-18 06:45:33.880: D/dalvikvm(470): GC_FOR_ALLOC freed 421K, 13% free 3732K/4280K, paused 25ms, total 28ms
08-18 06:45:33.980: I/Choreographer(470): Skipped 124 frames! The application may be doing too much work on its main thread.
08-18 06:45:34.070: I/Choreographer(470): Skipped 50 frames! The application may be doing too much work on its main thread.
08-18 06:45:34.160: I/Choreographer(470): Skipped 50 frames! The application may be doing too much work on its main thread.
08-18 06:45:34.250: I/Choreographer(470): Skipped 54 frames! The application may be doing too much work on its main thread.
08-18 06:45:34.350: I/Choreographer(470): Skipped 52 frames! The application may be doing too much work on its main thread.
08-18 06:45:34.440: I/Choreographer(470): Skipped 52 frames! The application may be doing too much work on its main thread.
08-18 06:45:35.540: I/Choreographer(470): Skipped 64 frames! The application may be doing too much work on its main thread.
08-18 06:45:35.670: I/Choreographer(470): Skipped 74 frames! The application may be doing too much work on its main thread.
08-18 06:45:35.790: I/Choreographer(470): Skipped 70 frames! The application may be doing too much work on its main thread.
08-18 06:45:35.890: I/Choreographer(470): Skipped 62 frames! The application may be doing too much work on its main thread.
08-18 06:45:36.010: I/Choreographer(470): Skipped 73 frames! The application may be doing too much work on its main thread.
08-18 06:45:36.100: I/Choreographer(470): Skipped 54 frames! The application may be doing too much work on its main thread.
08-18 06:45:36.190: I/Choreographer(470): Skipped 56 frames! The application may be doing too much work on its main thread.
08-18 06:45:36.300: I/Choreographer(470): Skipped 61 frames! The application may be doing too much work on its main thread.
08-18 06:45:36.390: I/Choreographer(470): Skipped 50 frames! The application may be doing too much work on its main thread.
08-18 06:45:36.490: I/Choreographer(470): Skipped 58 frames! The application may be doing too much work on its main thread.
08-18 06:45:36.590: I/Choreographer(470): Skipped 58 frames! The application may be doing too much work on its main thread.
08-18 06:45:36.690: I/Choreographer(470): Skipped 53 frames! The application may be doing too much work on its main thread.
08-18 06:45:37.100: I/Choreographer(470): Skipped 68 frames! The application may be doing too much work on its main thread.
08-18 06:45:37.210: I/Choreographer(470): Skipped 64 frames! The application may be doing too much work on its main thread.
08-18 06:45:37.330: I/Choreographer(470): Skipped 66 frames! The application may be doing too much work on its main thread.
08-18 06:45:37.420: I/Choreographer(470): Skipped 53 frames! The application may be doing too much work on its main thread.
08-18 06:45:37.520: I/Choreographer(470): Skipped 54 frames! The application may be doing too much work on its main thread.
08-18 06:45:37.610: I/Choreographer(470): Skipped 55 frames! The application may be doing too much work on its main thread.
08-18 06:45:37.710: I/Choreographer(470): Skipped 49 frames! The application may be doing too much work on its main thread.
08-18 06:45:37.810: I/Choreographer(470): Skipped 58 frames! The application may be doing too much work on its main thread.
08-18 06:45:37.890: I/Choreographer(470): Skipped 51 frames! The application may be doing too much work on its main thread.
08-18 06:45:37.900: W/RemoteResources(470): unable to get resource strings
08-18 06:45:38.480: I/Choreographer(470): Skipped 74 frames! The application may be doing too much work on its main thread.
08-18 06:45:38.580: I/Choreographer(470): Skipped 58 frames! The application may be doing too much work on its main thread.
08-18 06:45:38.700: I/Choreographer(470): Skipped 68 frames! The application may be doing too much work on its main thread.
08-18 06:45:38.790: I/Choreographer(470): Skipped 48 frames! The application may be doing too much work on its main thread.
08-18 06:45:38.900: I/Choreographer(470): Skipped 64 frames! The application may be doing too much work on its main thread.
08-18 06:45:39.080: I/Choreographer(470): Skipped 114 frames! The application may be doing too much work on its main thread.
08-18 06:45:39.180: D/ConnectivityService(354): Sampling interval elapsed, updating statistics ..
08-18 06:45:39.190: D/ConnectivityService(354): Done.
08-18 06:45:39.190: D/ConnectivityService(354): Setting timer for 720seconds
08-18 06:45:39.270: I/Choreographer(470): Skipped 105 frames! The application may be doing too much work on its main thread.
08-18 06:45:39.370: I/Choreographer(470): Skipped 54 frames! The application may be doing too much work on its main thread.
08-18 06:45:39.470: I/Choreographer(470): Skipped 59 frames! The application may be doing too much work on its main thread.
08-18 06:45:39.570: I/Choreographer(470): Skipped 54 frames! The application may be doing too much work on its main thread.
08-18 06:45:40.670: D/rpctransport(487): sendRpc: failed: 10
08-18 06:45:40.680: I/Choreographer(470): Skipped 37 frames! The application may be doing too much work on its main thread.
08-18 06:45:43.660: I/Choreographer(470): Skipped 51 frames! The application may be doing too much work on its main thread.
08-18 06:45:43.750: I/Choreographer(470): Skipped 48 frames! The application may be doing too much work on its main thread.
08-18 06:45:43.840: I/Choreographer(470): Skipped 48 frames! The application may be doing too much work on its main thread.
08-18 06:45:43.950: I/Choreographer(470): Skipped 59 frames! The application may be doing too much work on its main thread.
08-18 06:45:44.020: I/Choreographer(470): Skipped 45 frames! The application may be doing too much work on its main thread.
08-18 06:45:45.450: I/ActivityManager(354): START u0 {act=android.intent.action.MAIN flg=0x10000000 cmp=com.example.myfirstapp/.MainActivity} from pid 470 on display 0
08-18 06:45:45.530: D/gralloc(52): Registering a buffer in the process that created it. This may cause memory ordering problems.
08-18 06:45:45.530: E/libEGL(52): called unimplemented OpenGL ES API
08-18 06:45:45.530: E/libEGL(52): called unimplemented OpenGL ES API
08-18 06:45:45.530: E/libEGL(52): called unimplemented OpenGL ES API
08-18 06:45:45.540: E/libEGL(52): called unimplemented OpenGL ES API
08-18 06:45:45.540: E/SurfaceFlinger(52): glCheckFramebufferStatusOES error 2145533285
08-18 06:45:45.540: E/SurfaceFlinger(52): got GL_FRAMEBUFFER_COMPLETE_OES error while taking screenshot
08-18 06:45:45.540: E/libEGL(52): called unimplemented OpenGL ES API
08-18 06:45:45.540: E/libEGL(52): called unimplemented OpenGL ES API
08-18 06:45:45.540: W/WindowManager(354): Screenshot failure taking screenshot for (164x246) to layer 21000
08-18 06:45:45.590: D/rpctransport(487): sendRpc: failed: 11
08-18 06:45:45.610: D/dalvikvm(681): Not late-enabling CheckJNI (already on)
08-18 06:45:45.630: I/ActivityManager(354): Start proc com.example.myfirstapp for activity com.example.myfirstapp/.MainActivity: pid=681 uid=10018 gids={50018}
08-18 06:45:46.000: D/AndroidRuntime(681): Shutting down VM
08-18 06:45:46.010: W/dalvikvm(681): threadid=1: thread exiting with uncaught exception (group=0xb2a6fd70)
08-18 06:45:46.020: E/AndroidRuntime(681): FATAL EXCEPTION: main
08-18 06:45:46.020: E/AndroidRuntime(681): Process: com.example.myfirstapp, PID: 681
08-18 06:45:46.020: E/AndroidRuntime(681): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.myfirstapp/com.example.myfirstapp.MainActivity}: android.util.AndroidRuntimeException: You cannot combine swipe dismissal and the action bar.
08-18 06:45:46.020: E/AndroidRuntime(681): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2197)
08-18 06:45:46.020: E/AndroidRuntime(681): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2258)
08-18 06:45:46.020: E/AndroidRuntime(681): at android.app.ActivityThread.access$800(ActivityThread.java:138)
08-18 06:45:46.020: E/AndroidRuntime(681): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1209)
08-18 06:45:46.020: E/AndroidRuntime(681): at android.os.Handler.dispatchMessage(Handler.java:102)
08-18 06:45:46.020: E/AndroidRuntime(681): at android.os.Looper.loop(Looper.java:136)
08-18 06:45:46.020: E/AndroidRuntime(681): at android.app.ActivityThread.main(ActivityThread.java:5026)
08-18 06:45:46.020: E/AndroidRuntime(681): at java.lang.reflect.Method.invokeNative(Native Method)
08-18 06:45:46.020: E/AndroidRuntime(681): at java.lang.reflect.Method.invoke(Method.java:515)
08-18 06:45:46.020: E/AndroidRuntime(681): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)
08-18 06:45:46.020: E/AndroidRuntime(681): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
08-18 06:45:46.020: E/AndroidRuntime(681): at dalvik.system.NativeStart.main(Native Method)
08-18 06:45:46.020: E/AndroidRuntime(681): Caused by: android.util.AndroidRuntimeException: You cannot combine swipe dismissal and the action bar.
08-18 06:45:46.020: E/AndroidRuntime(681): at com.android.internal.policy.impl.PhoneWindow.requestFeature(PhoneWindow.java:275)
08-18 06:45:46.020: E/AndroidRuntime(681): at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:2872)
08-18 06:45:46.020: E/AndroidRuntime(681): at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:3129)
08-18 06:45:46.020: E/AndroidRuntime(681): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:303)
08-18 06:45:46.020: E/AndroidRuntime(681): at android.app.Activity.setContentView(Activity.java:1930)
08-18 06:45:46.020: E/AndroidRuntime(681): at android.support.v7.app.ActionBarActivity.superSetContentView(ActionBarActivity.java:217)
08-18 06:45:46.020: E/AndroidRuntime(681): at android.support.v7.app.ActionBarActivityDelegateICS.setContentView(ActionBarActivityDelegateICS.java:110)
08-18 06:45:46.020: E/AndroidRuntime(681): at android.support.v7.app.ActionBarActivity.setContentView(ActionBarActivity.java:77)
08-18 06:45:46.020: E/AndroidRuntime(681): at com.example.myfirstapp.MainActivity.onCreate(MainActivity.java:13)
08-18 06:45:46.020: E/AndroidRuntime(681): at android.app.Activity.performCreate(Activity.java:5242)
08-18 06:45:46.020: E/AndroidRuntime(681): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
08-18 06:45:46.020: E/AndroidRuntime(681): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2161)
08-18 06:45:46.020: E/AndroidRuntime(681): ... 11 more
08-18 06:45:46.060: W/ActivityManager(354): Force finishing activity com.example.myfirstapp/.MainActivity
08-18 06:45:46.080: W/InputMethodManagerService(354): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@b2ed0e80 attribute=null, token = android.os.BinderProxy@b2d62460
08-18 06:45:46.280: D/dalvikvm(354): GC_FOR_ALLOC freed 382K, 14% free 4121K/4760K, paused 42ms, total 47ms
08-18 06:45:46.280: I/dalvikvm-heap(354): Grow heap (frag case) to 4.422MB for 281896-byte allocation
08-18 06:45:46.360: D/dalvikvm(354): GC_FOR_ALLOC freed 23K, 14% free 4373K/5036K, paused 58ms, total 58ms
08-18 06:45:46.590: I/Choreographer(354): Skipped 67 frames! The application may be doing too much work on its main thread.
08-18 06:45:46.650: W/ActivityManager(354): Activity pause timeout for ActivityRecord{b2ec5620 u0 com.example.myfirstapp/.MainActivity t3 f}
08-18 06:45:46.710: D/rpctransport(487): sendRpc: failed: 12
08-18 06:45:46.740: I/ARMAssembler(52): generated scanline__00000077:03515104_00009002_00000000 [127 ipp] (149 ins) at [0xb5d6c1f0:0xb5d6c444] in 0 ns
08-18 06:45:46.830: I/Choreographer(354): Skipped 38 frames! The application may be doing too much work on its main thread.
08-18 06:45:46.890: I/Choreographer(354): Skipped 154 frames! The application may be doing too much work on its main thread.
08-18 06:45:46.940: I/Choreographer(354): Skipped 35 frames! The application may be doing too much work on its main thread.
08-18 06:45:46.980: I/ARMAssembler(52): generated scanline__00000077:03010104_00008002_00000000 [ 89 ipp] (110 ins) at [0xb5d6c450:0xb5d6c608] in 10000000 ns
08-18 06:45:57.170: W/ActivityManager(354): Activity destroy timeout for ActivityRecord{b2ec5620 u0 com.example.myfirstapp/.MainActivity t3 f}
08-18 06:46:09.580: D/dalvikvm(487): GC_FOR_ALLOC freed 487K, 22% free 2298K/2912K, paused 45ms, total 54ms
08-18 06:46:09.610: D/WearableConn(487): Error writing to device
08-18 06:46:09.610: D/WearableConn(487): java.net.ConnectException: failed to connect to /10.0.2.2 (port 5601): connect failed: ETIMEDOUT (Connection timed out)
08-18 06:46:09.610: D/WearableConn(487): at libcore.io.IoBridge.connect(IoBridge.java:114)
08-18 06:46:09.610: D/WearableConn(487): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
08-18 06:46:09.610: D/WearableConn(487): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
08-18 06:46:09.610: D/WearableConn(487): at java.net.Socket.startupSocket(Socket.java:567)
08-18 06:46:09.610: D/WearableConn(487): at java.net.Socket.<init>(Socket.java:226)
08-18 06:46:09.610: D/WearableConn(487): at btx.run(SourceFile:130)
08-18 06:46:09.610: D/WearableConn(487): Caused by: libcore.io.ErrnoException: connect failed: ETIMEDOUT (Connection timed out)
08-18 06:46:09.610: D/WearableConn(487): at libcore.io.Posix.connect(Native Method)
08-18 06:46:09.610: D/WearableConn(487): at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:101)
08-18 06:46:09.610: D/WearableConn(487): at libcore.io.IoBridge.connectErrno(IoBridge.java:127)
08-18 06:46:09.610: D/WearableConn(487): at libcore.io.IoBridge.connect(IoBridge.java:112)
08-18 06:46:09.610: D/WearableConn(487): ... 5 more
08-18 06:46:09.660: D/WearableConn(487): Socket closed
08-18 06:46:09.670: D/WearableConn(487): Waiting 1.0 seconds to retry connection
08-18 06:46:10.740: D/WearableConn(487): Connecting via TCP to /10.0.2.2:5601
08-18 06:46:11.800: W/NotifManCompat(470): Giving up on delivering 1 tasks to ComponentInfo{com.google.android.wearable.app/com.google.android.clockwork.stream.NotificationSideChannelService} after 7 retries
0 comments:
Post a Comment