android contacts 修改问题

gogler 发布于 2012/07/19 17:52
阅读 1K+
收藏 0

点击红色标识的tab时,程序停止,log如下。

07-19 15:15:33.846: I/ActivityThread(234): Publishing provider com.android.social: com.android.providers.contacts.SocialProvider

07-19 15:15:33.946: I/ActivityThread(234): Publishing provider applications: com.android.providers.applications.ApplicationsProvider
07-19 15:15:34.066: I/ActivityThread(234): Publishing provider contacts;com.android.contacts: com.android.providers.contacts.ContactsProvider2
07-19 15:15:34.846: I/ActivityThread(234): Publishing provider call_log: com.android.providers.contacts.CallLogProvider
07-19 15:15:34.846: I/ActivityThread(234): Publishing provider user_dictionary: com.android.providers.userdictionary.UserDictionaryProvider
07-19 15:15:35.016: D/dalvikvm(234): GC_FOR_MALLOC freed 2974 objects / 201968 bytes in 53ms
07-19 15:15:35.056: I/ContactsApp(234): onCreate
07-19 15:15:35.066: D/ContactsApp(234): =====start query Sim
07-19 15:15:35.076: D/ContactsApp(234): onQueryComplete Count = 2
07-19 15:15:35.076: D/ContactsApp(234): onQueryComplete , QUERY_ALL_TOKEN
07-19 15:15:35.086: D/error(234): can not get the baseband version
07-19 15:15:35.096: D/phoneid(234): BootBroadcastReceiver  phoneId==0fdnEnable==false
07-19 15:15:35.276: D/ContactsApp(234): onQueryComplete Count = 0
07-19 15:15:35.296: D/ContactsApp(234): onQueryComplete Count = 0
07-19 15:15:35.296: D/ContactsApp(234): onQueryComplete Sim2
07-19 15:15:35.296: D/ContactsApp(234): onQueryComplete Sim1
07-19 15:15:35.666: D/phoneid(253): BootBroadcastReceiver  phoneId==0fdnEnable==false
07-19 15:15:35.786: D/phoneid(234): BootBroadcastReceiver  phoneId==1fdnEnable==false
07-19 15:15:35.806: D/phoneid(253): BootBroadcastReceiver  phoneId==1fdnEnable==false
07-19 15:15:40.816: D/BootCompletedReceiver(234): onReceive called, action= android.intent.action.BOOT_COMPLETED
07-19 15:15:41.606: D/BootCompletedReceiver(253): onReceive called, action= android.intent.action.BOOT_COMPLETED
07-19 15:16:47.786: D/dalvikvm(234): GC_EXPLICIT freed 3034 objects / 179536 bytes in 312ms
07-19 15:16:51.856: D/AndroidRuntime(473): Shutting down VM
07-19 15:16:51.856: W/dalvikvm(473): threadid=1: thread exiting with uncaught exception (group=0x4001d800)
07-19 15:16:51.886: E/AndroidRuntime(473): FATAL EXCEPTION: main
07-19 15:16:51.886: E/AndroidRuntime(473): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.contacts3/com.android.contacts3.DialtactsActivity}: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.contacts3/com.android.contacts3.TwelveKeyDialer}: android.view.InflateException: Binary XML file line #20: Error inflating class com.android.phone.ButtonGridLayout
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2681)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.app.ActivityThread.access$2300(ActivityThread.java:125)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.os.Handler.dispatchMessage(Handler.java:99)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.os.Looper.loop(Looper.java:123)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.app.ActivityThread.main(ActivityThread.java:4640)
07-19 15:16:51.886: E/AndroidRuntime(473):     at java.lang.reflect.Method.invokeNative(Native Method)
07-19 15:16:51.886: E/AndroidRuntime(473):     at java.lang.reflect.Method.invoke(Method.java:521)
07-19 15:16:51.886: E/AndroidRuntime(473):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
07-19 15:16:51.886: E/AndroidRuntime(473):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
07-19 15:16:51.886: E/AndroidRuntime(473):     at dalvik.system.NativeStart.main(Native Method)
07-19 15:16:51.886: E/AndroidRuntime(473): Caused by: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.contacts3/com.android.contacts3.TwelveKeyDialer}: android.view.InflateException: Binary XML file line #20: Error inflating class com.android.phone.ButtonGridLayout
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.app.ActivityThread.startActivityNow(ActivityThread.java:2505)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:127)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:339)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:651)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.widget.TabHost.setCurrentTab(TabHost.java:323)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.widget.TabHost.addTab(TabHost.java:213)
07-19 15:16:51.886: E/AndroidRuntime(473):     at com.android.contacts3.DialtactsActivity.setupDialerTab(DialtactsActivity.java:208)
07-19 15:16:51.886: E/AndroidRuntime(473):     at com.android.contacts3.DialtactsActivity.onCreate(DialtactsActivity.java:108)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2629)
07-19 15:16:51.886: E/AndroidRuntime(473):     ... 11 more
07-19 15:16:51.886: E/AndroidRuntime(473): Caused by: android.view.InflateException: Binary XML file line #20: Error inflating class com.android.phone.ButtonGridLayout
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:576)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.view.LayoutInflater.parseInclude(LayoutInflater.java:679)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:614)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
07-19 15:16:51.886: E/AndroidRuntime(473):     at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:201)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.app.Activity.setContentView(Activity.java:1647)
07-19 15:16:51.886: E/AndroidRuntime(473):     at com.android.contacts3.TwelveKeyDialer.onCreate(TwelveKeyDialer.java:205)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2629)
07-19 15:16:51.886: E/AndroidRuntime(473):     ... 21 more
07-19 15:16:51.886: E/AndroidRuntime(473): Caused by: java.lang.ClassNotFoundException: com.android.phone.ButtonGridLayout in loader dalvik.system.PathClassLoader[/data/app/com.android.contacts3-2.apk]
07-19 15:16:51.886: E/AndroidRuntime(473):     at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
07-19 15:16:51.886: E/AndroidRuntime(473):     at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
07-19 15:16:51.886: E/AndroidRuntime(473):     at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.view.LayoutInflater.createView(LayoutInflater.java:466)
07-19 15:16:51.886: E/AndroidRuntime(473):     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:565)
07-19 15:16:51.886: E/AndroidRuntime(473):     ... 31 more
07-19 15:16:51.946: D/dalvikvm(473): GC_FOR_MALLOC freed 2672 objects / 252440 bytes in 46ms
07-19 15:17:15.126: D/AndroidRuntime(500): Shutting down VM
07-19 15:17:15.126: W/dalvikvm(500): threadid=1: thread exiting with uncaught exception (group=0x4001d800)
07-19 15:17:15.136: E/AndroidRuntime(500): FATAL EXCEPTION: main
07-19 15:17:15.136: E/AndroidRuntime(500): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.contacts3/com.android.contacts3.DialtactsActivity}: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.contacts3/com.android.contacts3.TwelveKeyDialer}: android.view.InflateException: Binary XML file line #20: Error inflating class com.android.phone.ButtonGridLayout
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2681)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.app.ActivityThread.access$2300(ActivityThread.java:125)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.os.Handler.dispatchMessage(Handler.java:99)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.os.Looper.loop(Looper.java:123)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.app.ActivityThread.main(ActivityThread.java:4640)
07-19 15:17:15.136: E/AndroidRuntime(500):     at java.lang.reflect.Method.invokeNative(Native Method)
07-19 15:17:15.136: E/AndroidRuntime(500):     at java.lang.reflect.Method.invoke(Method.java:521)
07-19 15:17:15.136: E/AndroidRuntime(500):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
07-19 15:17:15.136: E/AndroidRuntime(500):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
07-19 15:17:15.136: E/AndroidRuntime(500):     at dalvik.system.NativeStart.main(Native Method)
07-19 15:17:15.136: E/AndroidRuntime(500): Caused by: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.contacts3/com.android.contacts3.TwelveKeyDialer}: android.view.InflateException: Binary XML file line #20: Error inflating class com.android.phone.ButtonGridLayout
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.app.ActivityThread.startActivityNow(ActivityThread.java:2505)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:127)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:339)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:651)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.widget.TabHost.setCurrentTab(TabHost.java:323)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.widget.TabHost.addTab(TabHost.java:213)
07-19 15:17:15.136: E/AndroidRuntime(500):     at com.android.contacts3.DialtactsActivity.setupDialerTab(DialtactsActivity.java:208)
07-19 15:17:15.136: E/AndroidRuntime(500):     at com.android.contacts3.DialtactsActivity.onCreate(DialtactsActivity.java:108)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2629)
07-19 15:17:15.136: E/AndroidRuntime(500):     ... 11 more
07-19 15:17:15.136: E/AndroidRuntime(500): Caused by: android.view.InflateException: Binary XML file line #20: Error inflating class com.android.phone.ButtonGridLayout
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:576)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.view.LayoutInflater.parseInclude(LayoutInflater.java:679)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:614)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
07-19 15:17:15.136: E/AndroidRuntime(500):     at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:201)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.app.Activity.setContentView(Activity.java:1647)
07-19 15:17:15.136: E/AndroidRuntime(500):     at com.android.contacts3.TwelveKeyDialer.onCreate(TwelveKeyDialer.java:205)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2629)
07-19 15:17:15.136: E/AndroidRuntime(500):     ... 21 more
07-19 15:17:15.136: E/AndroidRuntime(500): Caused by: java.lang.ClassNotFoundException: com.android.phone.ButtonGridLayout in loader dalvik.system.PathClassLoader[/data/app/com.android.contacts3-2.apk]
07-19 15:17:15.136: E/AndroidRuntime(500):     at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
07-19 15:17:15.136: E/AndroidRuntime(500):     at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
07-19 15:17:15.136: E/AndroidRuntime(500):     at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.view.LayoutInflater.createView(LayoutInflater.java:466)
07-19 15:17:15.136: E/AndroidRuntime(500):     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:565)
07-19 15:17:15.136: E/AndroidRuntime(500):     ... 31 more
07-19 15:17:15.176: D/dalvikvm(500): GC_FOR_MALLOC freed 2714 objects / 254080 bytes in 36ms
加载中
返回顶部
顶部