Ravi
03/22/2022, 4:18 PMrelease
variant after upgrading constraintlayout(compose) to 1.0.0, it’s working fine in 1.0.0-rc01
. Please let me know if any proguard rules to be added to avoid this crash, more in 🧵java.lang.NoSuchMethodError: No virtual method getTop()Landroidx/constraintlayout/compose/ConstrainScope$HorizontalAnchorable; in class Landroidx/constraintlayout/compose/e; or its super classes (declaration of 'androidx.constraintlayout.compose.e' appears in /data/app/~~JlmgdCamA_dq2Zt38Lo1Fg==/in.mohalla.sharechat-HEswNn2qVHZC_rvzqO9Z_g==/base.apk)
at sm.a$d.a(SourceFile:1)
at sm.a$d.invoke(SourceFile:1)
at androidx.constraintlayout.compose.p$a.invoke(SourceFile:8)
at androidx.constraintlayout.compose.p$a.invoke(SourceFile:1)
at androidx.compose.runtime.snapshots.h$a.c(SourceFile:10)
at androidx.compose.runtime.snapshots.v.j(SourceFile:33)
at androidx.constraintlayout.compose.p.b(SourceFile:3)
at androidx.constraintlayout.compose.l0.x(SourceFile:18)
at androidx.constraintlayout.compose.j$b.a(SourceFile:5)
at androidx.compose.ui.node.e.m0(SourceFile:3)
at androidx.compose.ui.node.b.m0(SourceFile:2)
at androidx.compose.foundation.layout.k0.t0(SourceFile:3)
at androidx.compose.ui.node.t.m0(SourceFile:3)
at androidx.compose.ui.node.b.m0(SourceFile:2)
at androidx.compose.ui.node.b.m0(SourceFile:2)
at androidx.compose.ui.node.b.m0(SourceFile:2)
at androidx.compose.ui.node.b.m0(SourceFile:2)
at androidx.compose.foundation.layout.t.t0(SourceFile:12)
at androidx.compose.ui.node.t.m0(SourceFile:3)
at androidx.compose.ui.node.z$c.invoke(SourceFile:2)
at androidx.compose.ui.node.z$c.invoke(SourceFile:1)
at androidx.compose.runtime.snapshots.v.j(SourceFile:35)
at androidx.compose.ui.node.d0.e(SourceFile:1)
at androidx.compose.ui.node.d0.d(SourceFile:1)
at androidx.compose.ui.node.z.P0(SourceFile:21)
at androidx.compose.ui.node.z.m0(SourceFile:9)
at androidx.compose.ui.node.g.m0(SourceFile:1)
at androidx.compose.ui.layout.u0.a(SourceFile:4)
at androidx.compose.ui.node.e.m0(SourceFile:3)
at androidx.compose.ui.node.b.m0(SourceFile:2)
at androidx.compose.ui.node.b.m0(SourceFile:2)
at androidx.compose.ui.node.b.m0(SourceFile:2)
at androidx.compose.ui.node.b.m0(SourceFile:2)
at androidx.compose.ui.node.z$c.invoke(SourceFile:2)
at androidx.compose.ui.node.z$c.invoke(SourceFile:1)
at androidx.compose.runtime.snapshots.h$a.c(SourceFile:10)
at androidx.compose.runtime.snapshots.v.j(SourceFile:33)
at androidx.compose.ui.node.d0.e(SourceFile:1)
at androidx.compose.ui.node.d0.d(SourceFile:1)
at androidx.compose.ui.node.z.P0(SourceFile:21)
at androidx.compose.ui.node.g.J0(SourceFile:1)
at androidx.compose.ui.node.m.j(SourceFile:2)
at androidx.compose.ui.node.m.a(SourceFile:1)
at androidx.compose.ui.node.m.n(SourceFile:15)
at androidx.compose.ui.platform.AndroidComposeView.onMeasure(SourceFile:13)
at android.view.View.measure(View.java:25774)
at androidx.compose.ui.platform.a.g(SourceFile:7)
at androidx.compose.ui.platform.a.onMeasure(SourceFile:2)
at android.view.View.measure(View.java:25774)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6980)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at android.view.View.measure(View.java:25774)
at androidx.constraintlayout.widget.ConstraintLayout$c.b(SourceFile:62)
at h1.b.a(SourceFile:15)
at h1.b.b(SourceFile:18)
at h1.b.d(SourceFile:32)
at g1.f.E1(SourceFile:3)
at androidx.constraintlayout.widget.ConstraintLayout.C(SourceFile:16)
at androidx.constraintlayout.widget.ConstraintLayout.onMeasure(SourceFile:28)
at android.view.View.measure(View.java:25774)
at androidx.constraintlayout.widget.ConstraintLayout$c.b(SourceFile:62)
at h1.b.a(SourceFile:15)
at h1.b.b(SourceFile:18)
at h1.b.d(SourceFile:32)
at g1.f.E1(SourceFile:3)
at androidx.constraintlayout.widget.ConstraintLayout.C(SourceFile:16)
at androidx.constraintlayout.widget.ConstraintLayout.onMeasure(SourceFile:28)
at android.view.View.measure(View.java:25774)
at androidx.recyclerview.widget.RecyclerView$p.I0(SourceFile:14)
at androidx.recyclerview.widget.LinearLayoutManager.C2(SourceFile:11)
2022-03-22 21:21:50.403 1211-1211/? E/AndroidRuntime: at androidx.recyclerview.widget.LinearLayoutManager.f2(SourceFile:9)
at androidx.recyclerview.widget.LinearLayoutManager.f1(SourceFile:65)
at androidx.recyclerview.widget.RecyclerView.E(SourceFile:12)
at androidx.recyclerview.widget.RecyclerView.C(SourceFile:15)
at androidx.recyclerview.widget.RecyclerView.onLayout(SourceFile:2)
at android.view.View.layout(View.java:23144)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at androidx.swiperefreshlayout.widget.SwipeRefreshLayout.onLayout(SourceFile:11)
at android.view.View.layout(View.java:23144)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at androidx.constraintlayout.widget.ConstraintLayout.onLayout(SourceFile:12)
at android.view.View.layout(View.java:23144)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:23144)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at androidx.recyclerview.widget.RecyclerView$p.H0(SourceFile:3)
at androidx.recyclerview.widget.LinearLayoutManager.C2(SourceFile:31)
at androidx.recyclerview.widget.LinearLayoutManager.f2(SourceFile:9)
at androidx.recyclerview.widget.LinearLayoutManager.f1(SourceFile:65)
at androidx.recyclerview.widget.RecyclerView.E(SourceFile:12)
at androidx.recyclerview.widget.RecyclerView.C(SourceFile:15)
at androidx.recyclerview.widget.RecyclerView.onLayout(SourceFile:2)
at android.view.View.layout(View.java:23144)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at androidx.viewpager2.widget.ViewPager2.onLayout(SourceFile:8)
at android.view.View.layout(View.java:23144)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at com.google.android.material.appbar.b.F(SourceFile:22)
at com.google.android.material.appbar.c.l(SourceFile:1)
at androidx.coordinatorlayout.widget.CoordinatorLayout.onLayout(SourceFile:7)
at android.view.View.layout(View.java:23144)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:23144)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:23144)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at androidx.recyclerview.widget.RecyclerView$p.H0(SourceFile:3)
at androidx.recyclerview.widget.LinearLayoutManager.C2(SourceFile:31)
at androidx.recyclerview.widget.LinearLayoutManager.f2(SourceFile:9)
at androidx.recyclerview.widget.LinearLayoutManager.f1(SourceFile:65)
at androidx.recyclerview.widget.RecyclerView.E(SourceFile:12)
at androidx.recyclerview.widget.RecyclerView.C(SourceFile:15)
at androidx.recyclerview.widget.RecyclerView.onLayout(SourceFile:2)
at android.view.View.layout(View.java:23144)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at androidx.viewpager2.widget.ViewPager2.onLayout(SourceFile:8)
at android.view.View.layout(View.java:23144)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at androidx.constraintlayout.widget.ConstraintLayout.onLayout(SourceFile:12)
at android.view.View.layout(View.java:23144)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:23144)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1829)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1673)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1582)
at android.view.View.layout(View.java:23144)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
2022-03-22 21:21:50.403 1211-1211/? E/AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:23144)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1829)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1673)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1582)
at android.view.View.layout(View.java:23144)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at com.android.internal.policy.DecorView.onLayout(DecorView.java:798)
at android.view.View.layout(View.java:23144)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:3701)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3160)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2143)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8665)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1037)
at android.view.Choreographer.doCallbacks(Choreographer.java:845)
at android.view.Choreographer.doFrame(Choreographer.java:780)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1022)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)