Android(java)学习笔记125:Clock app编写报错02

1.首先之间看错误:

07-13 10:07:55.354: E/AndroidRuntime(8008): FATAL EXCEPTION: main
07-13 10:07:55.354: E/AndroidRuntime(8008): java.lang.NullPointerException
07-13 10:07:55.354: E/AndroidRuntime(8008):     at com.himi.clock.AlarmActivity.onClick(AlarmActivity.java:42)
07-13 10:07:55.354: E/AndroidRuntime(8008):     at android.view.View.performClick(View.java:4171)
07-13 10:07:55.354: E/AndroidRuntime(8008):     at android.view.View$PerformClick.run(View.java:17097)
07-13 10:07:55.354: E/AndroidRuntime(8008):     at android.os.Handler.handleCallback(Handler.java:615)
07-13 10:07:55.354: E/AndroidRuntime(8008):     at android.os.Handler.dispatchMessage(Handler.java:92)
07-13 10:07:55.354: E/AndroidRuntime(8008):     at android.os.Looper.loop(Looper.java:137)
07-13 10:07:55.354: E/AndroidRuntime(8008):     at android.app.ActivityThread.main(ActivityThread.java:4914)
07-13 10:07:55.354: E/AndroidRuntime(8008):     at java.lang.reflect.Method.invokeNative(Native Method)
07-13 10:07:55.354: E/AndroidRuntime(8008):     at java.lang.reflect.Method.invoke(Method.java:511)
07-13 10:07:55.354: E/AndroidRuntime(8008):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:808)
07-13 10:07:55.354: E/AndroidRuntime(8008):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:575)
07-13 10:07:55.354: E/AndroidRuntime(8008):     at dalvik.system.NativeStart.main(Native Method)

找到AlarmActivity.java:42  会发现calendar.(调用方法),之前我是直接private Calendar calendar;我以为我实例化,后来我追踪到API才知道原来这个Calendar是个抽象类,所以这是不能实例化。但是Calendar这个抽象类内部提供了获得这个抽象类实例的方法。

这样解决这个空指针异常问题

2.还有一个类似的报错:

07-13 09:45:15.643: E/AndroidRuntime(5437): FATAL EXCEPTION: main
07-13 09:45:15.643: E/AndroidRuntime(5437): java.lang.NullPointerException
07-13 09:45:15.643: E/AndroidRuntime(5437):     at com.himi.clock.AlarmActivity.onClick(AlarmActivity.java:84)
07-13 09:45:15.643: E/AndroidRuntime(5437):     at android.view.View.performClick(View.java:4171)
07-13 09:45:15.643: E/AndroidRuntime(5437):     at android.view.View$PerformClick.run(View.java:17097)
07-13 09:45:15.643: E/AndroidRuntime(5437):     at android.os.Handler.handleCallback(Handler.java:615)
07-13 09:45:15.643: E/AndroidRuntime(5437):     at android.os.Handler.dispatchMessage(Handler.java:92)
07-13 09:45:15.643: E/AndroidRuntime(5437):     at android.os.Looper.loop(Looper.java:137)
07-13 09:45:15.643: E/AndroidRuntime(5437):     at android.app.ActivityThread.main(ActivityThread.java:4914)
07-13 09:45:15.643: E/AndroidRuntime(5437):     at java.lang.reflect.Method.invokeNative(Native Method)
07-13 09:45:15.643: E/AndroidRuntime(5437):     at java.lang.reflect.Method.invoke(Method.java:511)
07-13 09:45:15.643: E/AndroidRuntime(5437):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:808)
07-13 09:45:15.643: E/AndroidRuntime(5437):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:575)
07-13 09:45:15.643: E/AndroidRuntime(5437):     at dalvik.system.NativeStart.main(Native Method)

找到AlarmActivity.java:84 你会发现这样行我调用mTextView,我在class类中private TextView mTextView;但是我在布局文件xml中没有添加这个,也就是没有mTextView = (TextView)findViewById(R.id.textview01);所以没有堆内存对应于指针mTextView,所以这个mTextView是个空指针。

3.最后一个错误:

07-13 09:32:18.083: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:32:28.034: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:32:33.069: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:32:38.085: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:32:48.045: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:32:53.081: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:32:58.106: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:33:01.219: E/dalvikvm(513): threadid=100: created from interp,name=BatteryStats-Write
07-13 09:33:01.219: E/dalvikvm(513): threadid=100: calling run(),name=BatteryStats-Write
07-13 09:33:01.249: E/dalvikvm(513): threadid=100: exiting,name=BatteryStats-Write
07-13 09:33:08.036: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:33:13.082: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:33:18.107: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:33:27.707: E/dalvikvm(513): threadid=100: created from interp,name=Thread-264
07-13 09:33:27.707: E/dalvikvm(513): threadid=100: calling run(),name=Thread-264
07-13 09:33:27.727: E/dalvikvm(513): threadid=100: exiting,name=Thread-264
07-13 09:33:28.038: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:33:28.198: E/dalvikvm(513): threadid=100: created from interp,name=Thread-265
07-13 09:33:28.198: E/dalvikvm(513): threadid=100: calling run(),name=Thread-265
07-13 09:33:28.198: E/dalvikvm(513): threadid=102: created from interp,name=[email protected]@43b32730
07-13 09:33:28.198: E/dalvikvm(513): threadid=102: calling run(),name=[email protected]@43b32730
07-13 09:33:28.218: E/dalvikvm(513): threadid=102: exiting,name=[email protected]@43b32730
07-13 09:33:28.218: E/dalvikvm(513): threadid=102: created from interp,name=[email protected]@43bbe9b0
07-13 09:33:28.218: E/dalvikvm(513): threadid=102: calling run(),name=[email protected]@43bbe9b0
07-13 09:33:28.218: E/dalvikvm(513): threadid=102: exiting,name=[email protected]@43bbe9b0
07-13 09:33:28.218: E/dalvikvm(513): threadid=103: created from interp,name=[email protected]@43c76c38
07-13 09:33:28.228: E/dalvikvm(513): threadid=103: calling run(),name=[email protected]@43c76c38
07-13 09:33:28.228: E/dalvikvm(513): threadid=100: exiting,name=Thread-265
07-13 09:33:28.228: E/dalvikvm(513): threadid=103: exiting,name=[email protected]@43c76c38
07-13 09:33:33.053: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:33:38.079: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:33:48.049: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:33:53.065: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:33:58.090: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:34:08.040: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:34:13.066: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:34:18.091: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:34:28.042: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:34:33.057: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:34:38.093: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:34:48.043: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:34:53.069: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:34:58.104: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:35:08.024: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:35:08.125: E/dalvikvm(169): threadid=2: exiting,name=ReferenceQueueDaemon
07-13 09:35:08.125: E/dalvikvm(169): threadid=3: exiting,name=FinalizerDaemon
07-13 09:35:08.125: E/dalvikvm(169): threadid=4: exiting,name=FinalizerWatchdogDaemon
07-13 09:35:08.145: E/dalvikvm(169): native fork pid:2376 done.
07-13 09:35:08.145: E/dalvikvm(169): threadid=2: created from interp,name=ReferenceQueueDaemon
07-13 09:35:08.145: E/dalvikvm(169): threadid=2: calling run(),name=ReferenceQueueDaemon
07-13 09:35:08.145: E/dalvikvm(169): threadid=3: created from interp,name=FinalizerDaemon
07-13 09:35:08.145: E/dalvikvm(169): threadid=3: calling run(),name=FinalizerDaemon
07-13 09:35:08.145: E/dalvikvm(169): threadid=4: created from interp,name=FinalizerWatchdogDaemon
07-13 09:35:08.155: E/dalvikvm(169): threadid=4: calling run(),name=FinalizerWatchdogDaemon
07-13 09:35:08.155: E/dalvikvm(2376): native fork pid:0 done.
07-13 09:35:08.155: E/dalvikvm(2376): threadid=5: created from interp,name=ReferenceQueueDaemon
07-13 09:35:08.155: E/dalvikvm(2376): threadid=5: calling run(),name=ReferenceQueueDaemon
07-13 09:35:08.155: E/dalvikvm(2376): threadid=6: created from interp,name=FinalizerDaemon
07-13 09:35:08.155: E/dalvikvm(2376): threadid=6: calling run(),name=FinalizerDaemon
07-13 09:35:08.155: E/dalvikvm(2376): threadid=7: created from interp,name=FinalizerWatchdogDaemon
07-13 09:35:08.155: E/dalvikvm(2376): threadid=7: calling run(),name=FinalizerWatchdogDaemon
07-13 09:35:08.435: E/dalvikvm(2376): threadid=10: created from interp,name=Thread-5
07-13 09:35:08.435: E/dalvikvm(2376): threadid=10: calling run(),name=Thread-5
07-13 09:35:08.435: E/dalvikvm(2376): threadid=10: exiting,name=Thread-5
07-13 09:35:08.435: E/dalvikvm(2527): threadid=10: created from interp,name=Thread-241
07-13 09:35:08.435: E/dalvikvm(2527): threadid=10: calling run(),name=Thread-241
07-13 09:35:08.435: E/dalvikvm(2527): threadid=21: created from interp,name=MyLocationGetter
07-13 09:35:08.435: E/dalvikvm(2527): threadid=21: calling run(),name=MyLocationGetter
07-13 09:35:10.787: E/dalvikvm(846): threadid=32: created from interp,[email protected][email protected]
07-13 09:35:10.787: E/dalvikvm(846): threadid=32: calling run(),[email protected][email protected]
07-13 09:35:10.797: E/dalvikvm(846): threadid=56: created from interp,name=Thread-183
07-13 09:35:10.797: E/dalvikvm(846): threadid=56: calling run(),name=Thread-183
07-13 09:35:10.797: E/dalvikvm(846): threadid=57: created from interp,name=pool-76-thread-1
07-13 09:35:10.797: E/dalvikvm(846): threadid=57: calling run(),name=pool-76-thread-1
07-13 09:35:10.827: E/dalvikvm(846): threadid=32: exiting,[email protected][email protected]
07-13 09:35:10.837: E/dalvikvm(846): threadid=57: exiting,name=pool-76-thread-1
07-13 09:35:10.918: E/dalvikvm(3232): threadid=10: created from interp,name=IntentService[MicloudPushService]
07-13 09:35:10.918: E/dalvikvm(3232): threadid=10: calling run(),name=IntentService[MicloudPushService]
07-13 09:35:10.938: E/dalvikvm(3232): threadid=10: exiting,name=IntentService[MicloudPushService]
07-13 09:35:10.968: E/dalvikvm(3232): threadid=10: created from interp,name=IntentService[MicloudPushService]
07-13 09:35:10.968: E/dalvikvm(3232): threadid=10: calling run(),name=IntentService[MicloudPushService]
07-13 09:35:10.968: E/dalvikvm(3232): threadid=10: exiting,name=IntentService[MicloudPushService]
07-13 09:35:13.060: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:35:18.075: E/beacon(1322): execute error:java.net.UnknownHostException: Unable to resolve host "eventlog.beacon.qq.com": No address associated with hostname
07-13 09:35:19.737: E/dalvikvm(2468): threadid=2: created from interp,name=ReferenceQueueDaemon
07-13 09:35:19.737: E/dalvikvm(2468): threadid=2: calling run(),name=ReferenceQueueDaemon
07-13 09:35:19.737: E/dalvikvm(2468): threadid=3: created from interp,name=FinalizerDaemon
07-13 09:35:19.737: E/dalvikvm(2468): threadid=4: created from interp,name=FinalizerWatchdogDaemon
07-13 09:35:19.737: E/dalvikvm(2468): threadid=4: calling run(),name=FinalizerWatchdogDaemon
07-13 09:35:19.747: E/dalvikvm(2468): threadid=3: calling run(),name=FinalizerDaemon
07-13 09:35:19.947: E/dalvikvm(513): threadid=100: created from interp,name=UsageStatsService_DiskWriter
07-13 09:35:19.957: E/dalvikvm(513): threadid=100: calling run(),name=UsageStatsService_DiskWriter
07-13 09:35:19.967: E/dalvikvm(513): threadid=100: exiting,name=UsageStatsService_DiskWriter
07-13 09:35:20.047: E/dalvikvm(24913): threadid=21: created from interp,name=Thread-350
07-13 09:35:20.047: E/dalvikvm(24913): threadid=21: calling run(),name=Thread-350
07-13 09:35:20.177: E/qcom_sensors_hal(513): hal_process_report_ind: Bad item quality: 11
07-13 09:35:20.378: E/qcom_sensors_hal(513): hal_process_report_ind: Bad item quality: 11
07-13 09:35:21.969: E/dalvikvm(1294): threadid=16: created from interp,name=Thread-117
07-13 09:35:21.969: E/dalvikvm(1294): threadid=16: calling run(),name=Thread-117
07-13 09:35:22.019: E/dalvikvm(1294): threadid=18: created from interp,name=Thread-118
07-13 09:35:22.019: E/dalvikvm(1294): threadid=18: calling run(),name=Thread-118
07-13 09:35:22.039: E/dalvikvm(1294): threadid=16: exiting,name=Thread-117
07-13 09:35:22.039: E/dalvikvm(3232): threadid=10: created from interp,name=IntentService[MicloudPushService]
07-13 09:35:22.049: E/dalvikvm(3232): threadid=10: calling run(),name=IntentService[MicloudPushService]
07-13 09:35:22.090: E/dalvikvm(3232): threadid=10: exiting,name=IntentService[MicloudPushService]
07-13 09:35:22.100: E/dalvikvm(1294): threadid=18: exiting,name=Thread-118
07-13 09:35:22.110: E/MusicFXCompat(941): received
07-13 09:35:22.120: E/dalvikvm(941): threadid=10: created from interp,name=IntentService[CompatibilityService]
07-13 09:35:22.130: E/dalvikvm(941): threadid=10: calling run(),name=IntentService[CompatibilityService]
07-13 09:35:22.130: E/MusicFXCompat(941): handleintent
07-13 09:35:22.130: E/MusicFXCompat(941): intentservice saw: Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:com.himi.clock flg=0x8000010 cmp=com.dolby/.Compatibility$Receiver (has extras) } Bundle[{android.intent.extra.DATA_REMOVED=false, android.intent.extra.REPLACING=true, android.intent.extra.UID=10095}]
07-13 09:35:22.140: E/MusicFXCompat(941): found: 3
07-13 09:35:22.140: E/MusicFXCompat(941): saved default: com.dolby.ds1appUI.MainActivity
07-13 09:35:22.140: E/MusicFXCompat(941): considering ResolveInfo{424e67f8 com.android.musicfx.Compatibility$Redirector p=2147483647 o=0 m=0x108000}
07-13 09:35:22.140: E/MusicFXCompat(941): considering ResolveInfo{424e6db0 com.android.settings.Settings$DolbySettingsActivity p=2147483647 o=0 m=0x108000}
07-13 09:35:22.140: E/MusicFXCompat(941): considering ResolveInfo{424e7360 com.android.musicfx.ActivityMusic p=0 o=0 m=0x108000}
07-13 09:35:22.140: E/MusicFXCompat(941): disabling receiver ResolveInfo{424e8730 com.android.musicfx.ControlPanelReceiver p=0 o=0 m=0x108000}
07-13 09:35:22.150: E/MusicFXCompat(941): disabling receiver ResolveInfo{424e91c0 com.android.musicfx.ControlPanelReceiver p=0 o=0 m=0x108000}
07-13 09:35:22.150: E/MusicFXCompat(941): wrote com.dolby.ds1appUI/com.dolby.ds1appUI.MainActivity as default
07-13 09:35:22.150: E/dalvikvm(941): threadid=10: exiting,name=IntentService[CompatibilityService]
07-13 09:35:22.200: E/dalvikvm(2975): threadid=13: created from interp,name=IntentService[PeopleBackgroundTasks]
07-13 09:35:22.200: E/dalvikvm(2975): threadid=13: calling run(),name=IntentService[PeopleBackgroundTasks]
07-13 09:35:22.210: E/dalvikvm(2975): threadid=13: exiting,name=IntentService[PeopleBackgroundTasks]
07-13 09:35:22.230: E/dalvikvm(1759): threadid=10: created from interp,name=IntentService[EngineIntentService]
07-13 09:35:22.230: E/dalvikvm(1759): threadid=10: calling run(),name=IntentService[EngineIntentService]
07-13 09:35:22.240: E/dalvikvm(169): threadid=2: exiting,name=ReferenceQueueDaemon
07-13 09:35:22.240: E/dalvikvm(169): threadid=3: exiting,name=FinalizerDaemon
07-13 09:35:22.240: E/dalvikvm(169): threadid=4: exiting,name=FinalizerWatchdogDaemon
07-13 09:35:22.250: E/dalvikvm(169): native fork pid:2509 done.
07-13 09:35:22.250: E/dalvikvm(169): threadid=2: created from interp,name=ReferenceQueueDaemon
07-13 09:35:22.250: E/dalvikvm(169): threadid=2: calling run(),name=ReferenceQueueDaemon
07-13 09:35:22.250: E/dalvikvm(169): threadid=3: created from interp,name=FinalizerDaemon
07-13 09:35:22.250: E/dalvikvm(169): threadid=3: calling run(),name=FinalizerDaemon
07-13 09:35:22.250: E/dalvikvm(169): threadid=4: created from interp,name=FinalizerWatchdogDaemon
07-13 09:35:22.260: E/dalvikvm(2509): native fork pid:0 done.
07-13 09:35:22.260: E/dalvikvm(2509): threadid=5: created from interp,name=ReferenceQueueDaemon
07-13 09:35:22.260: E/dalvikvm(2509): threadid=5: calling run(),name=ReferenceQueueDaemon
07-13 09:35:22.260: E/dalvikvm(2509): threadid=6: created from interp,name=FinalizerDaemon
07-13 09:35:22.260: E/dalvikvm(2509): threadid=6: calling run(),name=FinalizerDaemon
07-13 09:35:22.260: E/dalvikvm(2509): threadid=7: created from interp,name=FinalizerWatchdogDaemon
07-13 09:35:22.260: E/dalvikvm(1759): threadid=10: exiting,name=IntentService[EngineIntentService]
07-13 09:35:22.270: E/dalvikvm(169): threadid=4: calling run(),name=FinalizerWatchdogDaemon
07-13 09:35:22.270: E/dalvikvm(2509): threadid=7: calling run(),name=FinalizerWatchdogDaemon
07-13 09:35:22.450: E/dalvikvm(169): threadid=2: exiting,name=ReferenceQueueDaemon
07-13 09:35:22.450: E/dalvikvm(169): threadid=3: exiting,name=FinalizerDaemon
07-13 09:35:22.450: E/dalvikvm(169): threadid=4: exiting,name=FinalizerWatchdogDaemon
07-13 09:35:22.460: E/dalvikvm(169): native fork pid:2530 done.
07-13 09:35:22.460: E/dalvikvm(2509): threadid=10: created from interp,name=IntentService[KeyChainService]
07-13 09:35:22.460: E/dalvikvm(2509): threadid=10: calling run(),name=IntentService[KeyChainService]
07-13 09:35:22.460: E/dalvikvm(169): threadid=2: created from interp,name=ReferenceQueueDaemon
07-13 09:35:22.460: E/dalvikvm(169): threadid=2: calling run(),name=ReferenceQueueDaemon
07-13 09:35:22.460: E/dalvikvm(169): threadid=3: created from interp,name=FinalizerDaemon
07-13 09:35:22.460: E/dalvikvm(169): threadid=3: calling run(),name=FinalizerDaemon
07-13 09:35:22.460: E/dalvikvm(169): threadid=4: created from interp,name=FinalizerWatchdogDaemon
07-13 09:35:22.460: E/dalvikvm(169): threadid=4: calling run(),name=FinalizerWatchdogDaemon
07-13 09:35:22.460: E/dalvikvm(2530): native fork pid:0 done.
07-13 09:35:22.470: E/dalvikvm(2530): threadid=5: created from interp,name=ReferenceQueueDaemon
07-13 09:35:22.470: E/dalvikvm(2530): threadid=5: calling run(),name=ReferenceQueueDaemon
07-13 09:35:22.470: E/dalvikvm(2530): threadid=6: created from interp,name=FinalizerDaemon
07-13 09:35:22.470: E/dalvikvm(2530): threadid=6: calling run(),name=FinalizerDaemon
07-13 09:35:22.470: E/dalvikvm(2530): threadid=7: created from interp,name=FinalizerWatchdogDaemon
07-13 09:35:22.470: E/dalvikvm(2530): threadid=7: calling run(),name=FinalizerWatchdogDaemon
07-13 09:35:22.490: E/dalvikvm(2509): threadid=10: exiting,name=IntentService[KeyChainService]
07-13 09:35:22.640: E/dalvikvm(2530): threadid=10: created from interp,name=IntentService[CompatibilityService]
07-13 09:35:22.640: E/dalvikvm(2530): threadid=10: calling run(),name=IntentService[CompatibilityService]
07-13 09:35:22.670: E/dalvikvm(2530): threadid=11: created from interp,name=SharedPreferencesImpl-load
07-13 09:35:22.670: E/dalvikvm(2530): threadid=11: calling run(),name=SharedPreferencesImpl-load
07-13 09:35:22.670: E/dalvikvm(2530): threadid=11: exiting,name=SharedPreferencesImpl-load
07-13 09:35:22.690: E/dalvikvm(2530): threadid=10: exiting,name=IntentService[CompatibilityService]
07-13 09:35:22.720: E/dalvikvm(24913): threadid=22: created from interp,name=IntentService[gamecenter]
07-13 09:35:22.720: E/dalvikvm(24913): threadid=22: calling run(),name=IntentService[gamecenter]
07-13 09:35:22.760: E/dalvikvm(3232): threadid=10: created from interp,name=IntentService[MicloudPushService]
07-13 09:35:22.760: E/dalvikvm(3232): threadid=10: calling run(),name=IntentService[MicloudPushService]
07-13 09:35:22.770: E/dalvikvm(3232): threadid=10: exiting,name=IntentService[MicloudPushService]
07-13 09:35:22.780: E/MusicFXCompat(941): received
07-13 09:35:22.780: E/dalvikvm(941): threadid=10: created from interp,name=IntentService[CompatibilityService]
07-13 09:35:22.780: E/dalvikvm(941): threadid=10: calling run(),name=IntentService[CompatibilityService]
07-13 09:35:22.780: E/MusicFXCompat(941): handleintent
07-13 09:35:22.780: E/MusicFXCompat(941): intentservice saw: Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.himi.clock flg=0x8000010 cmp=com.dolby/.Compatibility$Receiver (has extras) } Bundle[{android.intent.extra.REPLACING=true, android.intent.extra.UID=10095}]
07-13 09:35:22.780: E/MusicFXCompat(941): found: 3
07-13 09:35:22.790: E/MusicFXCompat(941): saved default: com.dolby.ds1appUI.MainActivity
07-13 09:35:22.790: E/MusicFXCompat(941): considering ResolveInfo{424eca70 com.android.musicfx.Compatibility$Redirector p=2147483647 o=0 m=0x108000}
07-13 09:35:22.790: E/MusicFXCompat(941): considering ResolveInfo{424ed028 com.android.settings.Settings$DolbySettingsActivity p=2147483647 o=0 m=0x108000}
07-13 09:35:22.790: E/MusicFXCompat(941): considering ResolveInfo{424ed5d8 com.android.musicfx.ActivityMusic p=0 o=0 m=0x108000}
07-13 09:35:22.790: E/MusicFXCompat(941): disabling receiver ResolveInfo{424ee9a8 com.android.musicfx.ControlPanelReceiver p=0 o=0 m=0x108000}
07-13 09:35:22.790: E/MusicFXCompat(941): disabling receiver ResolveInfo{424ef438 com.android.musicfx.ControlPanelReceiver p=0 o=0 m=0x108000}
07-13 09:35:22.790: E/MusicFXCompat(941): wrote com.dolby.ds1appUI/com.dolby.ds1appUI.MainActivity as default
07-13 09:35:22.790: E/dalvikvm(941): threadid=10: exiting,name=IntentService[CompatibilityService]
07-13 09:35:22.800: E/dalvikvm(2975): threadid=13: created from interp,name=IntentService[GamesIntentService]
07-13 09:35:22.800: E/dalvikvm(2975): threadid=13: calling run(),name=IntentService[GamesIntentService]
07-13 09:35:22.810: E/dalvikvm(169): threadid=2: exiting,name=ReferenceQueueDaemon
07-13 09:35:22.810: E/dalvikvm(169): threadid=3: exiting,name=FinalizerDaemon
07-13 09:35:22.810: E/dalvikvm(169): threadid=4: exiting,name=FinalizerWatchdogDaemon
07-13 09:35:22.810: E/dalvikvm(2975): threadid=63: created from interp,name=IntentService[PeopleBackgroundTasks]
07-13 09:35:22.810: E/dalvikvm(2975): threadid=63: calling run(),name=IntentService[PeopleBackgroundTasks]
07-13 09:35:22.810: E/dalvikvm(24913): threadid=22: exiting,name=IntentService[gamecenter]
07-13 09:35:22.820: E/dalvikvm(169): native fork pid:2568 done.
07-13 09:35:22.830: E/dalvikvm(169): threadid=2: created from interp,name=ReferenceQueueDaemon
07-13 09:35:22.830: E/dalvikvm(169): threadid=2: calling run(),name=ReferenceQueueDaemon
07-13 09:35:22.830: E/dalvikvm(169): threadid=3: created from interp,name=FinalizerDaemon
07-13 09:35:22.830: E/dalvikvm(169): threadid=3: calling run(),name=FinalizerDaemon
07-13 09:35:22.830: E/dalvikvm(169): threadid=4: created from interp,name=FinalizerWatchdogDaemon
07-13 09:35:22.830: E/dalvikvm(169): threadid=4: calling run(),name=FinalizerWatchdogDaemon
07-13 09:35:22.830: E/dalvikvm(2568): native fork pid:0 done.
07-13 09:35:22.830: E/dalvikvm(2568): threadid=5: created from interp,name=ReferenceQueueDaemon
07-13 09:35:22.830: E/dalvikvm(2975): threadid=13: exiting,name=IntentService[GamesIntentService]
07-13 09:35:22.830: E/dalvikvm(2568): threadid=5: calling run(),name=ReferenceQueueDaemon
07-13 09:35:22.830: E/dalvikvm(2975): threadid=63: exiting,name=IntentService[PeopleBackgroundTasks]
07-13 09:35:22.830: E/dalvikvm(2568): threadid=6: created from interp,name=FinalizerDaemon
07-13 09:35:22.830: E/dalvikvm(2568): threadid=6: calling run(),name=FinalizerDaemon
07-13 09:35:22.830: E/dalvikvm(2568): threadid=7: created from interp,name=FinalizerWatchdogDaemon
07-13 09:35:22.830: E/dalvikvm(2568): threadid=7: calling run(),name=FinalizerWatchdogDaemon
07-13 09:35:22.910: E/dalvikvm(2561): threadid=2: created from interp,name=ReferenceQueueDaemon
07-13 09:35:22.910: E/dalvikvm(2561): threadid=2: calling run(),name=ReferenceQueueDaemon
07-13 09:35:22.910: E/dalvikvm(2561): threadid=3: created from interp,name=FinalizerDaemon
07-13 09:35:22.910: E/dalvikvm(2561): threadid=3: calling run(),name=FinalizerDaemon
07-13 09:35:22.910: E/dalvikvm(2561): threadid=4: created from interp,name=FinalizerWatchdogDaemon
07-13 09:35:22.910: E/dalvikvm(2561): threadid=4: calling run(),name=FinalizerWatchdogDaemon
07-13 09:35:23.171: E/dalvikvm(2568): threadid=10: created from interp,name=IntentService[GooglePartnerSetup]
07-13 09:35:23.171: E/dalvikvm(2568): threadid=10: calling run(),name=IntentService[GooglePartnerSetup]
07-13 09:35:23.171: E/dalvikvm(169): threadid=2: exiting,name=ReferenceQueueDaemon
07-13 09:35:23.171: E/dalvikvm(169): threadid=3: exiting,name=FinalizerDaemon
07-13 09:35:23.171: E/dalvikvm(169): threadid=4: exiting,name=FinalizerWatchdogDaemon
07-13 09:35:23.181: E/dalvikvm(169): native fork pid:2593 done.
07-13 09:35:23.181: E/dalvikvm(169): threadid=2: created from interp,name=ReferenceQueueDaemon
07-13 09:35:23.191: E/dalvikvm(169): threadid=2: calling run(),name=ReferenceQueueDaemon
07-13 09:35:23.191: E/dalvikvm(169): threadid=3: created from interp,name=FinalizerDaemon
07-13 09:35:23.191: E/dalvikvm(169): threadid=3: calling run(),name=FinalizerDaemon
07-13 09:35:23.191: E/dalvikvm(169): threadid=4: created from interp,name=FinalizerWatchdogDaemon
07-13 09:35:23.191: E/dalvikvm(169): threadid=4: calling run(),name=FinalizerWatchdogDaemon
07-13 09:35:23.191: E/dalvikvm(2593): native fork pid:0 done.
07-13 09:35:23.191: E/dalvikvm(2593): threadid=6: created from interp,name=ReferenceQueueDaemon
07-13 09:35:23.191: E/dalvikvm(2593): threadid=6: calling run(),name=ReferenceQueueDaemon
07-13 09:35:23.191: E/dalvikvm(2593): threadid=7: created from interp,name=FinalizerDaemon
07-13 09:35:23.191: E/dalvikvm(2593): threadid=7: calling run(),name=FinalizerDaemon
07-13 09:35:23.191: E/dalvikvm(2593): threadid=8: created from interp,name=FinalizerWatchdogDaemon
07-13 09:35:23.191: E/dalvikvm(2593): threadid=8: calling run(),name=FinalizerWatchdogDaemon
07-13 09:35:23.351: E/dalvikvm(2568): threadid=10: exiting,name=IntentService[GooglePartnerSetup]
07-13 09:35:23.351: E/dalvikvm(2568): threadid=11: created from interp,name=IntentService[GooglePartnerSetup]
07-13 09:35:23.351: E/dalvikvm(2568): threadid=11: calling run(),name=IntentService[GooglePartnerSetup]
07-13 09:35:23.371: E/dalvikvm(2568): threadid=10: created from interp,name=SharedPreferencesImpl-load
07-13 09:35:23.371: E/dalvikvm(2568): threadid=10: calling run(),name=SharedPreferencesImpl-load
07-13 09:35:23.371: E/dalvikvm(513): threadid=100: created from interp,name=Thread-270
07-13 09:35:23.371: E/dalvikvm(513): threadid=100: calling run(),name=Thread-270
07-13 09:35:23.381: E/dalvikvm(2568): threadid=10: exiting,name=SharedPreferencesImpl-load
07-13 09:35:23.431: E/dalvikvm(2568): threadid=11: exiting,name=IntentService[GooglePartnerSetup]
07-13 09:35:23.451: E/dalvikvm(1759): threadid=10: created from interp,name=IntentService[EngineIntentService]
07-13 09:35:23.451: E/dalvikvm(1759): threadid=10: calling run(),name=IntentService[EngineIntentService]
07-13 09:35:23.451: E/dalvikvm(1759): threadid=10: exiting,name=IntentService[EngineIntentService]
07-13 09:35:23.451: E/dalvikvm(169): threadid=2: exiting,name=ReferenceQueueDaemon
07-13 09:35:23.461: E/dalvikvm(169): threadid=3: exiting,name=FinalizerDaemon
07-13 09:35:23.461: E/dalvikvm(169): threadid=4: exiting,name=FinalizerWatchdogDaemon
07-13 09:35:23.461: E/dalvikvm(169): native fork pid:2610 done.
07-13 09:35:23.461: E/dalvikvm(169): threadid=2: created from interp,name=ReferenceQueueDaemon
07-13 09:35:23.461: E/dalvikvm(169): threadid=2: calling run(),name=ReferenceQueueDaemon
07-13 09:35:23.471: E/dalvikvm(169): threadid=3: created from interp,name=FinalizerDaemon
07-13 09:35:23.471: E/dalvikvm(169): threadid=3: calling run(),name=FinalizerDaemon
07-13 09:35:23.471: E/dalvikvm(169): threadid=4: created from interp,name=FinalizerWatchdogDaemon
07-13 09:35:23.471: E/dalvikvm(169): threadid=4: calling run(),name=FinalizerWatchdogDaemon
07-13 09:35:23.471: E/dalvikvm(2610): native fork pid:0 done.
07-13 09:35:23.471: E/dalvikvm(2610): threadid=5: created from interp,name=ReferenceQueueDaemon
07-13 09:35:23.471: E/dalvikvm(2610): threadid=5: calling run(),name=ReferenceQueueDaemon
07-13 09:35:23.471: E/dalvikvm(2610): threadid=6: created from interp,name=FinalizerDaemon
07-13 09:35:23.471: E/dalvikvm(2610): threadid=6: calling run(),name=FinalizerDaemon
07-13 09:35:23.471: E/dalvikvm(2610): threadid=7: created from interp,name=FinalizerWatchdogDaemon
07-13 09:35:23.481: E/dalvikvm(2610): threadid=7: calling run(),name=FinalizerWatchdogDaemon
07-13 09:35:23.661: E/dalvikvm(513): threadid=102: created from interp,name=Error dump: data_app_crash
07-13 09:35:23.661: E/dalvikvm(513): threadid=102: calling run(),name=Error dump: data_app_crash
07-13 09:35:23.661: E/AndroidRuntime(2593): FATAL EXCEPTION: main
07-13 09:35:23.661: E/AndroidRuntime(2593): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.himi.clock/com.himi.clock.MainActivity}: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.himi.clock/com.himi.clock.AlarmActivity}; have you declared this activity in your AndroidManifest.xml?
07-13 09:35:23.661: E/AndroidRuntime(2593):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2092)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2117)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at android.app.ActivityThread.access$600(ActivityThread.java:140)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1213)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at android.os.Handler.dispatchMessage(Handler.java:99)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at android.os.Looper.loop(Looper.java:137)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at android.app.ActivityThread.main(ActivityThread.java:4914)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at java.lang.reflect.Method.invokeNative(Native Method)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at java.lang.reflect.Method.invoke(Method.java:511)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:808)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:575)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at dalvik.system.NativeStart.main(Native Method)
07-13 09:35:23.661: E/AndroidRuntime(2593): Caused by: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.himi.clock/com.himi.clock.AlarmActivity}; have you declared this activity in your AndroidManifest.xml?
07-13 09:35:23.661: E/AndroidRuntime(2593):     at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1541)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at android.app.ActivityThread.resolveActivityInfo(ActivityThread.java:1903)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:285)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:694)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at android.widget.TabHost.setCurrentTab(TabHost.java:358)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at android.widget.TabHost.addTab(TabHost.java:236)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at com.himi.clock.MainActivity.addOneTab(MainActivity.java:32)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at com.himi.clock.MainActivity.onCreate(MainActivity.java:20)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at android.app.Activity.performCreate(Activity.java:5086)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at com.lbe.security.service.core.client.b.x.callActivityOnCreate(Unknown Source)
07-13 09:35:23.661: E/AndroidRuntime(2593):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2056)
07-13 09:35:23.661: E/AndroidRuntime(2593):     ... 11 more
07-13 09:35:23.681: E/dalvikvm(513): threadid=102: exiting,name=Error dump: data_app_crash
07-13 09:35:23.701: E/dalvikvm(2610): threadid=10: created from interp,name=IntentService[CompatibilityService]
07-13 09:35:23.701: E/dalvikvm(2610): threadid=10: calling run(),name=IntentService[CompatibilityService]
07-13 09:35:23.721: E/dalvikvm(2610): threadid=11: created from interp,name=SharedPreferencesImpl-load
07-13 09:35:23.721: E/dalvikvm(2610): threadid=11: calling run(),name=SharedPreferencesImpl-load
07-13 09:35:23.731: E/dalvikvm(2610): threadid=11: exiting,name=SharedPreferencesImpl-load
07-13 09:35:23.741: E/dalvikvm(2610): threadid=10: exiting,name=IntentService[CompatibilityService]
07-13 09:35:23.811: E/qcom_sensors_hal(513): hal_process_report_ind: Bad item quality: 11
07-13 09:35:24.012: E/qcom_sensors_hal(513): hal_process_report_ind: Bad item quality: 11
07-13 09:35:24.342: E/MarketConnection(24855): Connection Exception for app.market.xiaomi.com :java.net.UnknownHostException: Unable to resolve host "app.market.xiaomi.com": No address associated with hostname
07-13 09:35:24.352: E/MarketConnection(24855): Connection failed : NETWORK_ERROR
07-13 09:35:24.402: E/dalvikvm(24913): threadid=22: created from interp,name=IntentService[gamecenter]
07-13 09:35:24.402: E/dalvikvm(24913): threadid=22: calling run(),name=IntentService[gamecenter]
07-13 09:35:24.412: E/dalvikvm(24913): threadid=22: exiting,name=IntentService[gamecenter]
07-13 09:35:24.432: E/MusicFXCompat(941): received
07-13 09:35:24.432: E/dalvikvm(941): threadid=10: created from interp,name=IntentService[CompatibilityService]
07-13 09:35:24.432: E/dalvikvm(941): threadid=10: calling run(),name=IntentService[CompatibilityService]
07-13 09:35:24.442: E/MusicFXCompat(941): handleintent
07-13 09:35:24.442: E/MusicFXCompat(941): intentservice saw: Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:com.himi.clock flg=0x8000010 cmp=com.dolby/.Compatibility$Receiver (has extras) } Bundle[{android.intent.extra.REPLACING=true, android.intent.extra.UID=10095}]
07-13 09:35:24.442: E/MusicFXCompat(941): found: 3
07-13 09:35:24.442: E/MusicFXCompat(941): saved default: com.dolby.ds1appUI.MainActivity
07-13 09:35:24.442: E/MusicFXCompat(941): considering ResolveInfo{424f2cf8 com.android.musicfx.Compatibility$Redirector p=2147483647 o=0 m=0x108000}
07-13 09:35:24.442: E/MusicFXCompat(941): considering ResolveInfo{424f32b0 com.android.settings.Settings$DolbySettingsActivity p=2147483647 o=0 m=0x108000}
07-13 09:35:24.442: E/MusicFXCompat(941): considering ResolveInfo{424f3860 com.android.musicfx.ActivityMusic p=0 o=0 m=0x108000}
07-13 09:35:24.442: E/MusicFXCompat(941): disabling receiver ResolveInfo{424f4c30 com.android.musicfx.ControlPanelReceiver p=0 o=0 m=0x108000}
07-13 09:35:24.452: E/MusicFXCompat(941): disabling receiver ResolveInfo{424f56c0 com.android.musicfx.ControlPanelReceiver p=0 o=0 m=0x108000}
07-13 09:35:24.452: E/MusicFXCompat(941): wrote com.dolby.ds1appUI/com.dolby.ds1appUI.MainActivity as default
07-13 09:35:24.452: E/dalvikvm(513): threadid=100: exiting,name=Thread-270
07-13 09:35:24.452: E/dalvikvm(941): threadid=10: exiting,name=IntentService[CompatibilityService]
07-13 09:35:24.462: E/dalvikvm(25054): threadid=14: created from interp,name=IntentService[GCoreUlr-ExtChangeSvc]
07-13 09:35:24.462: E/dalvikvm(25054): threadid=14: calling run(),name=IntentService[GCoreUlr-ExtChangeSvc]
07-13 09:35:24.472: E/dalvikvm(2975): threadid=13: created from interp,name=IntentService[PeopleBackgroundTasks]
07-13 09:35:24.472: E/dalvikvm(2975): threadid=13: calling run(),name=IntentService[PeopleBackgroundTasks]
07-13 09:35:24.482: E/dalvikvm(25054): threadid=17: created from interp,name=IntentService[GCoreUlr-SettingChngSvc]
07-13 09:35:24.492: E/dalvikvm(25054): threadid=17: calling run(),name=IntentService[GCoreUlr-SettingChngSvc]
07-13 09:35:24.502: E/dalvikvm(2975): threadid=13: exiting,name=IntentService[PeopleBackgroundTasks]
07-13 09:35:24.512: E/dalvikvm(1759): threadid=10: created from interp,name=IntentService[EngineIntentService]
07-13 09:35:24.512: E/dalvikvm(1759): threadid=10: calling run(),name=IntentService[EngineIntentService]
07-13 09:35:24.522: E/dalvikvm(169): threadid=2: exiting,name=ReferenceQueueDaemon
07-13 09:35:24.522: E/dalvikvm(169): threadid=3: exiting,name=FinalizerDaemon
07-13 09:35:24.522: E/dalvikvm(169): threadid=4: exiting,name=FinalizerWatchdogDaemon
07-13 09:35:24.522: E/dalvikvm(169): native fork pid:2637 done.
07-13 09:35:24.532: E/dalvikvm(169): threadid=2: created from interp,name=ReferenceQueueDaemon
07-13 09:35:24.532: E/dalvikvm(169): threadid=2: calling run(),name=ReferenceQueueDaemon
07-13 09:35:24.532: E/dalvikvm(169): threadid=3: created from interp,name=FinalizerDaemon
07-13 09:35:24.532: E/dalvikvm(169): threadid=3: calling run(),name=FinalizerDaemon
07-13 09:35:24.532: E/dalvikvm(169): threadid=4: created from interp,name=FinalizerWatchdogDaemon
07-13 09:35:24.532: E/dalvikvm(2637): native fork pid:0 done.
07-13 09:35:24.532: E/dalvikvm(2637): threadid=5: created from interp,name=ReferenceQueueDaemon
07-13 09:35:24.532: E/dalvikvm(2637): threadid=5: calling run(),name=ReferenceQueueDaemon
07-13 09:35:24.532: E/dalvikvm(1759): threadid=10: exiting,name=IntentService[EngineIntentService]
07-13 09:35:24.532: E/dalvikvm(2637): threadid=6: created from interp,name=FinalizerDaemon
07-13 09:35:24.532: E/dalvikvm(169): threadid=4: calling run(),name=FinalizerWatchdogDaemon
07-13 09:35:24.532: E/dalvikvm(2637): threadid=6: calling run(),name=FinalizerDaemon
07-13 09:35:24.532: E/dalvikvm(2637): threadid=7: created from interp,name=FinalizerWatchdogDaemon
07-13 09:35:24.542: E/dalvikvm(2637): threadid=7: calling run(),name=FinalizerWatchdogDaemon
07-13 09:35:24.552: E/dalvikvm(25054): threadid=17: exiting,name=IntentService[GCoreUlr-SettingChngSvc]
07-13 09:35:24.572: E/dalvikvm(25054): threadid=14: exiting,name=IntentService[GCoreUlr-ExtChangeSvc]
07-13 09:35:24.712: E/dalvikvm(2637): threadid=10: created from interp,name=IntentService[CompatibilityService]
07-13 09:35:24.712: E/dalvikvm(2637): threadid=10: calling run(),name=IntentService[CompatibilityService]
07-13 09:35:24.732: E/dalvikvm(2637): threadid=11: created from interp,name=SharedPreferencesImpl-load
07-13 09:35:24.732: E/dalvikvm(2637): threadid=11: calling run(),name=SharedPreferencesImpl-load
07-13 09:35:24.742: E/dalvikvm(2637): threadid=11: exiting,name=SharedPreferencesImpl-load
07-13 09:35:24.752: E/dalvikvm(2637): threadid=10: exiting,name=IntentService[CompatibilityService]
07-13 09:35:24.762: E/dalvikvm(24913): threadid=22: created from interp,name=IntentService[gamecenter]
07-13 09:35:24.762: E/dalvikvm(24913): threadid=22: calling run(),name=IntentService[gamecenter]
07-13 09:35:24.782: E/dalvikvm(27136): threadid=18: created from interp,name=GlobalPool-H
07-13 09:35:24.782: E/dalvikvm(27136): threadid=18: calling run(),name=GlobalPool-H
07-13 09:35:24.782: E/dalvikvm(169): threadid=2: exiting,name=ReferenceQueueDaemon
07-13 09:35:24.782: E/dalvikvm(169): threadid=3: exiting,name=FinalizerDaemon
07-13 09:35:24.782: E/dalvikvm(169): threadid=4: exiting,name=FinalizerWatchdogDaemon
07-13 09:35:24.792: E/dalvikvm(169): native fork pid:2657 done.
07-13 09:35:24.792: E/dalvikvm(169): threadid=2: created from interp,name=ReferenceQueueDaemon
07-13 09:35:24.802: E/dalvikvm(169): threadid=2: calling run(),name=ReferenceQueueDaemon
07-13 09:35:24.802: E/dalvikvm(169): threadid=3: created from interp,name=FinalizerDaemon
07-13 09:35:24.802: E/dalvikvm(169): threadid=3: calling run(),name=FinalizerDaemon
07-13 09:35:24.802: E/dalvikvm(169): threadid=4: created from interp,name=FinalizerWatchdogDaemon
07-13 09:35:24.802: E/dalvikvm(169): threadid=4: calling run(),name=FinalizerWatchdogDaemon
07-13 09:35:24.802: E/dalvikvm(2657): native fork pid:0 done.
07-13 09:35:24.802: E/dalvikvm(2657): threadid=5: created from interp,name=ReferenceQueueDaemon
07-13 09:35:24.802: E/dalvikvm(2657): threadid=5: calling run(),name=ReferenceQueueDaemon
07-13 09:35:24.802: E/dalvikvm(2657): threadid=6: created from interp,name=FinalizerDaemon
07-13 09:35:24.802: E/dalvikvm(2657): threadid=6: calling run(),name=FinalizerDaemon
07-13 09:35:24.802: E/dalvikvm(2657): threadid=7: created from interp,name=FinalizerWatchdogDaemon
07-13 09:35:24.802: E/dalvikvm(2657): threadid=7: calling run(),name=FinalizerWatchdogDaemon
07-13 09:35:24.882: E/dalvikvm(24913): threadid=23: created from interp,name=Thread-354
07-13 09:35:24.892: E/dalvikvm(24913): threadid=22: exiting,name=IntentService[gamecenter]
07-13 09:35:24.892: E/dalvikvm(24913): threadid=23: calling run(),name=Thread-354
07-13 09:35:24.892: E/dalvikvm(24913): threadid=22: created from interp,name=[email protected]@42388af0
07-13 09:35:24.892: E/dalvikvm(24913): threadid=22: calling run(),name=[email protected]@42388af0
07-13 09:35:24.903: E/dalvikvm(24913): threadid=22: exiting,name=[email protected]@42388af0
07-13 09:35:24.903: E/dalvikvm(24913): threadid=23: exiting,name=Thread-354
07-13 09:35:24.993: E/dalvikvm(2657): threadid=10: created from interp,name=[email protected]@422a5a80
07-13 09:35:24.993: E/dalvikvm(2657): threadid=10: calling run(),name=[email protected]@422a5a80
07-13 09:35:25.203: E/dalvikvm(169): threadid=2: exiting,name=ReferenceQueueDaemon
07-13 09:35:25.203: E/dalvikvm(169): threadid=3: exiting,name=FinalizerDaemon
07-13 09:35:25.203: E/dalvikvm(169): threadid=4: exiting,name=FinalizerWatchdogDaemon
07-13 09:35:25.213: E/dalvikvm(169): native fork pid:2673 done.
07-13 09:35:25.213: E/dalvikvm(169): threadid=2: created from interp,name=ReferenceQueueDaemon
07-13 09:35:25.213: E/dalvikvm(169): threadid=2: calling run(),name=ReferenceQueueDaemon
07-13 09:35:25.213: E/dalvikvm(169): threadid=3: created from interp,name=FinalizerDaemon
07-13 09:35:25.213: E/dalvikvm(169): threadid=4: created from interp,name=FinalizerWatchdogDaemon
07-13 09:35:25.213: E/dalvikvm(169): threadid=3: calling run(),name=FinalizerDaemon
07-13 09:35:25.213: E/dalvikvm(169): threadid=4: calling run(),name=FinalizerWatchdogDaemon
07-13 09:35:25.213: E/dalvikvm(2673): native fork pid:0 done.
07-13 09:35:25.223: E/dalvikvm(2673): threadid=6: created from interp,name=ReferenceQueueDaemon
07-13 09:35:25.223: E/dalvikvm(2673): threadid=6: calling run(),name=ReferenceQueueDaemon
07-13 09:35:25.223: E/dalvikvm(2673): threadid=7: created from interp,name=FinalizerDaemon
07-13 09:35:25.223: E/dalvikvm(2673): threadid=7: calling run(),name=FinalizerDaemon
07-13 09:35:25.223: E/dalvikvm(2673): threadid=8: created from interp,name=FinalizerWatchdogDaemon
07-13 09:35:25.223: E/dalvikvm(2673): threadid=8: calling run(),name=FinalizerWatchdogDaemon
07-13 09:35:25.483: E/dalvikvm(513): threadid=100: created from interp,name=Error dump: data_app_crash
07-13 09:35:25.483: E/dalvikvm(513): threadid=100: calling run(),name=Error dump: data_app_crash
07-13 09:35:25.483: E/AndroidRuntime(2673): FATAL EXCEPTION: main
07-13 09:35:25.483: E/AndroidRuntime(2673): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.himi.clock/com.himi.clock.MainActivity}: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.himi.clock/com.himi.clock.AlarmActivity}; have you declared this activity in your AndroidManifest.xml?
07-13 09:35:25.483: E/AndroidRuntime(2673):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2092)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2117)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at android.app.ActivityThread.access$600(ActivityThread.java:140)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1213)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at android.os.Handler.dispatchMessage(Handler.java:99)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at android.os.Looper.loop(Looper.java:137)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at android.app.ActivityThread.main(ActivityThread.java:4914)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at java.lang.reflect.Method.invokeNative(Native Method)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at java.lang.reflect.Method.invoke(Method.java:511)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:808)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:575)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at dalvik.system.NativeStart.main(Native Method)
07-13 09:35:25.483: E/AndroidRuntime(2673): Caused by: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.himi.clock/com.himi.clock.AlarmActivity}; have you declared this activity in your AndroidManifest.xml?
07-13 09:35:25.483: E/AndroidRuntime(2673):     at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1541)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at android.app.ActivityThread.resolveActivityInfo(ActivityThread.java:1903)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:285)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:694)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at android.widget.TabHost.setCurrentTab(TabHost.java:358)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at android.widget.TabHost.addTab(TabHost.java:236)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at com.himi.clock.MainActivity.addOneTab(MainActivity.java:32)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at com.himi.clock.MainActivity.onCreate(MainActivity.java:20)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at android.app.Activity.performCreate(Activity.java:5086)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at com.lbe.security.service.core.client.b.x.callActivityOnCreate(Unknown Source)
07-13 09:35:25.483: E/AndroidRuntime(2673):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2056)
07-13 09:35:25.483: E/AndroidRuntime(2673):     ... 11 more
07-13 09:35:25.503: E/dalvikvm(513): threadid=100: exiting,name=Error dump: data_app_crash
07-13 09:35:25.613: E/qcom_sensors_hal(513): hal_process_report_ind: Bad item quality: 11
07-13 09:35:28.636: E/dalvikvm(2527): threadid=10: exiting,name=Thread-241
07-13 09:35:29.778: E/dalvikvm(27136): threadid=18: exiting,name=GlobalPool-H
07-13 09:35:42.091: E/dalvikvm(760): threadid=15: created from interp,name=Thread-29
07-13 09:35:42.091: E/dalvikvm(760): threadid=15: calling run(),name=Thread-29
07-13 09:35:42.301: E/dalvikvm(760): threadid=15: exiting,name=Thread-29

不要被这些数据量吓到了,只看红色字体部分,原来是因为AlarmActivity没有在AndroidManifest.xml中注册信息

时间: 2024-10-06 22:41:17

Android(java)学习笔记125:Clock app编写报错02的相关文章

Android(java)学习笔记123:Clock app编写报错

1.首先我们二话不说直接先看报错内容如下: 07-12 08:25:03.572: E/dalvikvm(3602): native fork pid:0 done. 07-12 08:25:03.582: E/dalvikvm(3602): threadid=6: created from interp,name=ReferenceQueueDaemon 07-12 08:25:03.582: E/dalvikvm(3602): threadid=6: calling run(),name=R

Android 解决Execution failed for task ':app:clean.'报错

说实话,我还真是没见过比Execution failed for task ':app:clean.'更为恶心,更为不要脸的bug啦,代码没啥问题,一下子行让你爽爽,一下子又不鸟你啦,研究了下,终于找到稳定的解决方法. (1)跑到报错的那个build父目录,强制(不管你用的是啥删除软件,360还是其他的,态度一定要强硬)把build文件夹删掉. (2)网上很多都说这时候重启studio即可,当俺发现不管用,就是不管用,那就以管理员身份命令行跑去项目目录中执行一遍gradlew clean即可,这

【学习笔记】MYSQL的floor报错原理分析总结

参考链接:http://mp.weixin.qq.com/s?__biz=MzA5NDY0OTQ0Mw==&mid=403404979&idx=1&sn=27d10b6da357d72304086311cefd573e&scene=1&srcid=04131X3lQlrDMYOCntCqWf6n#wechat_redirect 网上关于floor报错的文章很多,但都是利用语句,介绍原理的文章大多一笔带过,不过我终于找到一篇像样的原理文章,于是参考着来理解原理,参考的

java/android 设计模式学习笔记(一)---单例模式

前段时间公司一些同事在讨论单例模式(我是最渣的一个,都插不上嘴 T__T ),这个模式使用的频率很高,也可能是很多人最熟悉的设计模式,当然单例模式也算是最简单的设计模式之一吧,简单归简单,但是在实际使用的时候也会有一些坑. PS:对技术感兴趣的同鞋加群544645972一起交流 设计模式总目录 java/android 设计模式学习笔记目录 特点 确保某一个类只有一个实例,而且自行实例化并向整个系统提供这个实例. 单例模式的使用很广泛,比如:线程池(threadpool).缓存(cache).对

java/android 设计模式学习笔记(12)---组合模式

这篇我们来介绍一下组合模式(Composite Pattern),它也称为部分整体模式(Part-Whole Pattern),结构型模式之一.组合模式比较简单,它将一组相似的对象看作一个对象处理,并根据一个树状结构来组合对象,然后提供一个统一的方法去访问相应的对象,以此忽略掉对象与对象集合之间的差别.这个最典型的例子就是数据结构中的树了,如果一个节点有子节点,那么它就是枝干节点,如果没有子节点,那么它就是叶子节点,那么怎么把枝干节点和叶子节点统一当作一种对象处理呢?这就需要用到组合模式了. 转

java/android 设计模式学习笔记(3)---工厂方法模式

这篇来介绍一下工厂方法模式(Factory Method Pattern),在实际开发过程中我们都习惯于直接使用 new 关键字用来创建一个对象,可是有时候对象的创造需要一系列的步骤:你可能需要计算或取得对象的初始设置:选择生成哪个子对象实例:或在生成你需要的对象之前必须先生成一些辅助功能的对象,这个时候就需要了解该对象创建的细节,也就是说使用的地方与该对象的实现耦合在了一起,不利于扩展,为了解决这个问题就需要用到我们的工厂方法模式,它适合那些创建复杂的对象的场景,工厂方法模式也是一个使用频率很

java/android 设计模式学习笔记(14)---外观模式

这篇博客来介绍外观模式(Facade Pattern),外观模式也称为门面模式,它在开发过程中运用频率非常高,尤其是第三方 SDK 基本很大概率都会使用外观模式.通过一个外观类使得整个子系统只有一个统一的高层的接口,这样能够降低用户的使用成本,也对用户屏蔽了很多实现细节.当然,在我们的开发过程中,外观模式也是我们封装 API 的常用手段,例如网络模块.ImageLoader 模块等.其实我们在开发过程中可能已经使用过很多次外观模式,只是没有从理论层面去了解它. 转载请注明出处:http://bl

java/android 设计模式学习笔记(10)---建造者模式

这篇博客我们来介绍一下建造者模式(Builder Pattern),建造者模式又被称为生成器模式,是创造性模式之一,与工厂方法模式和抽象工厂模式不同,后两者的目的是为了实现多态性,而 Builder 模式的目的则是为了将对象的构建与展示分离.Builder 模式是一步一步创建一个复杂对象的创建型模式,它允许用户在不知道内部构建细节的情况下,可以更精细地控制对象的构造流程.一个复杂的对象有大量的组成部分,比如汽车它有车轮.方向盘.发动机.以及各种各样的小零件,要将这些部件装配成一辆汽车,这个装配过

java/android 设计模式学习笔记(7)---装饰者模式

这篇将会介绍装饰者模式(Decorator Pattern),装饰者模式也称为包装模式(Wrapper Pattern),结构型模式之一,其使用一种对客户端透明的方式来动态的扩展对象的功能,同时它也是继承关系的一种替代方案之一,但比继承更加灵活.在现实生活中也可以看到很多装饰者模式的例子,或者可以大胆的说装饰者模式无处不在,就拿一件东西来说,可以给它披上无数层不一样的外壳,但是这件东西还是这件东西,外壳不过是用来扩展这个东西的功能而已,这就是装饰者模式,装饰者的这个角色也许各不相同但是被装饰的对