找回密码
 立即注册
搜索

华为快服务助手在非华为手机上运行一打开就Crash

2
回复
1331
查看
[复制链接]

2

主题

4

帖子

30

积分

 楼主| 2020-2-27 11:03:05 显示全部楼层 |阅读模式
是不支持非华为手机运行调试吗? 版本号:2.1.0
  1. 2020-02-27 10:51:26.730 32763-32763/? E/AndroidRuntime: FATAL EXCEPTION: main
  2. Process: com.huawei.hag.assistant, PID: 32763
  3. android.view.InflateException: Binary XML file line #0: Binary XML file line #0: Error inflating class <unknown>
  4. Caused by: android.view.InflateException: Binary XML file line #0: Error inflating class <unknown>
  5. Caused by: java.lang.reflect.InvocationTargetException
  6. at java.lang.reflect.Constructor.newInstance0(Native Method)
  7. at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
  8. at android.view.LayoutInflater.createView(LayoutInflater.java:647)
  9. at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58)
  10. at android.view.LayoutInflater.onCreateView(LayoutInflater.java:720)
  11. at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:788)
  12. at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:730)
  13. at android.view.LayoutInflater.rInflate(LayoutInflater.java:863)
  14. at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
  15. at android.view.LayoutInflater.rInflate(LayoutInflater.java:866)
  16. at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
  17. at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
  18. at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
  19. at com.huawei.hag.assistant.adapter.HomeItemAdapter.getView(SourceFile:69)
  20. at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220)
  21. at android.widget.AbsListView.obtainView(AbsListView.java:2366)
  22. at android.widget.ListView.makeAndAddView(ListView.java:2052)
  23. at android.widget.ListView.fillDown(ListView.java:786)
  24. at android.widget.ListView.fillFromTop(ListView.java:847)
  25. at android.widget.ListView.layoutChildren(ListView.java:1798)
  26. at android.widget.AbsListView.onLayout(AbsListView.java:2165)
  27. at android.view.View.layout(View.java:20693)
  28. at android.view.ViewGroup.layout(ViewGroup.java:6194)
  29. at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
  30. at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
  31. at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
  32. at android.view.View.layout(View.java:20693)
  33. at android.view.ViewGroup.layout(ViewGroup.java:6194)
  34. at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
  35. at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
  36. at android.view.View.layout(View.java:20693)
  37. at android.view.ViewGroup.layout(ViewGroup.java:6194)
  38. at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
  39. at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
  40. at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
  41. at android.view.View.layout(View.java:20693)
  42. at android.view.ViewGroup.layout(ViewGroup.java:6194)
  43. at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
  44. at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
  45. at android.view.View.layout(View.java:20693)
  46. at android.view.ViewGroup.layout(ViewGroup.java:6194)
  47. at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
  48. at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
  49. at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
  50. at android.view.View.layout(View.java:20693)
  51. at android.view.ViewGroup.layout(ViewGroup.java:6194)
  52. at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
  53. at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
  54. at com.android.internal.policy.DecorView.onLayout(DecorView.java:753)
  55. at android.view.View.layout(View.java:20693)
  56. at android.view.ViewGroup.layout(ViewGroup.java:6194)
  57. at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2799)
  58. at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2316)
  59. at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1463)
  60. at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7190)
  61. at android.view.Choreographer$CallbackRecord.run(Choreographer.java:949)
  62. at android.view.Choreographer.doCallbacks(Choreographer.java:761)
  63. 2020-02-27 10:51:26.730 32763-32763/? E/AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:696)
  64. at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:935)
  65. at android.os.Handler.handleCallback(Handler.java:873)
  66. at android.os.Handler.dispatchMessage(Handler.java:99)
  67. at android.os.Looper.loop(Looper.java:193)
  68. at android.app.ActivityThread.main(ActivityThread.java:6718)
  69. at java.lang.reflect.Method.invoke(Native Method)
  70. at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
  71. at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
  72. Caused by: android.content.res.Resources$NotFoundException: Drawable (missing name) with resource ID #0x0
  73. Caused by: android.content.res.Resources$NotFoundException: Unable to find resource ID #0x0
  74. at android.content.res.ResourcesImpl.getResourceName(ResourcesImpl.java:255)
  75. at android.content.res.ResourcesImpl.loadDrawableForCookie(ResourcesImpl.java:785)
  76. at android.content.res.ResourcesImpl.loadDrawable(ResourcesImpl.java:631)
  77. at android.content.res.Resources.loadDrawable(Resources.java:897)
  78. at android.content.res.TypedArray.getDrawableForDensity(TypedArray.java:955)
  79. at android.content.res.TypedArray.getDrawable(TypedArray.java:930)
  80. at android.widget.ImageView.<init>(ImageView.java:189)
  81. at android.widget.ImageView.<init>(ImageView.java:172)
  82. at android.widget.ImageView.<init>(ImageView.java:168)
  83. at java.lang.reflect.Constructor.newInstance0(Native Method)
  84. at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
  85. at android.view.LayoutInflater.createView(LayoutInflater.java:647)
  86. at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58)
  87. at android.view.LayoutInflater.onCreateView(LayoutInflater.java:720)
  88. at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:788)
  89. at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:730)
  90. at android.view.LayoutInflater.rInflate(LayoutInflater.java:863)
  91. at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
  92. at android.view.LayoutInflater.rInflate(LayoutInflater.java:866)
  93. at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
  94. at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
  95. at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
  96. at com.huawei.hag.assistant.adapter.HomeItemAdapter.getView(SourceFile:69)
  97. at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220)
  98. at android.widget.AbsListView.obtainView(AbsListView.java:2366)
  99. at android.widget.ListView.makeAndAddView(ListView.java:2052)
  100. at android.widget.ListView.fillDown(ListView.java:786)
  101. at android.widget.ListView.fillFromTop(ListView.java:847)
  102. at android.widget.ListView.layoutChildren(ListView.java:1798)
  103. at android.widget.AbsListView.onLayout(AbsListView.java:2165)
  104. at android.view.View.layout(View.java:20693)
  105. at android.view.ViewGroup.layout(ViewGroup.java:6194)
  106. at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
  107. at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
  108. at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
  109. at android.view.View.layout(View.java:20693)
  110. at android.view.ViewGroup.layout(ViewGroup.java:6194)
  111. at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
  112. at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
  113. at android.view.View.layout(View.java:20693)
  114. at android.view.ViewGroup.layout(ViewGroup.java:6194)
  115. at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
  116. at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
  117. at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
  118. at android.view.View.layout(View.java:20693)
  119. at android.view.ViewGroup.layout(ViewGroup.java:6194)
  120. at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
  121. at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
  122. at android.view.View.layout(View.java:20693)
  123. at android.view.ViewGroup.layout(ViewGroup.java:6194)
  124. 2020-02-27 10:51:26.730 32763-32763/? E/AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
  125. at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
  126. at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
  127. at android.view.View.layout(View.java:20693)
  128. at android.view.ViewGroup.layout(ViewGroup.java:6194)
  129. at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
  130. at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
  131. at com.android.internal.policy.DecorView.onLayout(DecorView.java:753)
  132. at android.view.View.layout(View.java:20693)
  133. at android.view.ViewGroup.layout(ViewGroup.java:6194)
  134. at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2799)
  135. at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2316)
  136. at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1463)
  137. at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7190)
  138. at android.view.Choreographer$CallbackRecord.run(Choreographer.java:949)
  139. at android.view.Choreographer.doCallbacks(Choreographer.java:761)
  140. at android.view.Choreographer.doFrame(Choreographer.java:696)
  141. at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:935)
  142. at android.os.Handler.handleCallback(Handler.java:873)
  143. at android.os.Handler.dispatchMessage(Handler.java:99)
  144. at android.os.Looper.loop(Looper.java:193)
  145. at android.app.ActivityThread.main(ActivityThread.java:6718)
  146. at java.lang.reflect.Method.invoke(Native Method)
  147. at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
  148. at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
  149. 2020-02-27 10:51:26.749 1260-1807/? E/InputDispatcher: channel '3b10cf5 com.huawei.hag.assistant/com.huawei.hag.assistant.module.main.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
  150. 2020-02-27 10:51:26.749 1260-1807/? E/InputDispatcher: channel 'd2c2ddf com.huawei.hag.assistant/com.huawei.hag.assistant.module.main.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
  151. 2020-02-27 10:51:26.774 4295-5892/? E/PBSessionCacheImpl: sessionId[18891192360615590] not persisted.
复制代码
回复

使用道具 举报

479

主题

780

帖子

6620

积分

2020-3-12 10:36:19 显示全部楼层
联系下官方客服微信:kuaiyingyongguanKF
官方客服微信:kuaiyingyongguanKF
回复

使用道具 举报

2

主题

4

帖子

30

积分

 楼主| 2020-3-17 18:08:28 显示全部楼层
已经跟华为的人确认了,不能运行在非华为手机上。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册