Android App crash on MessagingActivity
已于 2023年7月13日 发布
When I am trying to launch MessagingActivity, at that time facing below crash.
Currently I am using below theme in my application.
If any one have idea how to resolve it then please help me out.
Theme.MaterialComponents.Light.NoActionBar
Caused by: android.view.InflateException: Binary XML file line #25 in com.holisto:layout/zui_view_messaging: Failed to resolve attribute at index 4: TypedValue{t=0x2/d=0x7f040004 a=-1}
2023-07-13 16:42:19.600 12185-12185/com.holisto E/AndroidRuntime: Caused by: java.lang.UnsupportedOperationException: Failed to resolve attribute at index 4: TypedValue{t=0x2/d=0x7f040004 a=-1}
at android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:786)
at android.view.ViewGroup$MarginLayoutParams.<init>(ViewGroup.java:8591)
at android.widget.FrameLayout$LayoutParams.<init>(FrameLayout.java:452)
at android.widget.FrameLayout.generateLayoutParams(FrameLayout.java:380)
at android.widget.FrameLayout.generateLayoutParams(FrameLayout.java:58)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1169)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1128)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1170)
at android.view.LayoutInflater.inflate(LayoutInflater.java:683)
at android.view.LayoutInflater.inflate(LayoutInflater.java:547)
at zendesk.classic.messaging.ui.MessagingView.<init>(MessagingView.java:49)
at zendesk.classic.messaging.ui.MessagingView.<init>(MessagingView.java:41)
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
at android.view.LayoutInflater.createView(LayoutInflater.java:881)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1037)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:988)
at android.view.LayoutInflater.inflate(LayoutInflater.java:686)
at android.view.LayoutInflater.inflate(LayoutInflater.java:547)
at android.view.LayoutInflater.inflate(LayoutInflater.java:485)
at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:775)
at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:197)
at zendesk.classic.messaging.MessagingActivity.onCreate(MessagingActivity.java:121)
at android.app.Activity.performCreate(Activity.java:8192)
at android.app.Activity.performCreate(Activity.java:8159)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1341)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3765)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3952)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:106)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2327)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:211)
at android.os.Looper.loop(Looper.java:300)
at android.app.ActivityThread.main(ActivityThread.java:8285)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:576)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1074)
0
1
0 条评论
登录以发表评论。