https://kotlinlang.org logo
#android
Title
# android
s

SrSouza

04/08/2020, 2:48 PM
Hi folks, anyone that was able to use constraint layout 2.0.0-beta4 in the editor of Android Studio 4.1 Canary 4? I'm getting a render error
Copy code
java.lang.NoClassDefFoundError: Could not initialize class androidx.constraintlayout.widget.ConstraintLayout$LayoutParams$Table
	at androidx.constraintlayout.widget.ConstraintLayout$LayoutParams.<init>(ConstraintLayout.java:2488)
	at androidx.constraintlayout.widget.ConstraintLayout.generateLayoutParams(ConstraintLayout.java:1717)
	at androidx.constraintlayout.widget.ConstraintLayout.generateLayoutParams(ConstraintLayout.java:479)
	at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:1125)
	at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:72)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:1097)
	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1084)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:682)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:501)
	at com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate(RenderSessionImpl.java:347)
	at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:404)
	at com.android.tools.idea.layoutlib.LayoutLibrary.createSession(LayoutLibrary.java:141)
	at com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:662)
	at com.android.tools.idea.rendering.RenderTask.lambda$inflate$7(RenderTask.java:793)
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
l

louiscad

04/08/2020, 3:06 PM
If it's a regression, it's best to report it on b.android.com to ensure it gets fixed ASAP for you and others.
2 Views