How to fix render problem java.lang.NoClassDefFoundError: sun/misc/Cleaner in newest version of Android studio?

445 views Asked by At

My designer doesn't show any changes or content. it says it has a render problem:

enter image description here

java.lang.NoClassDefFoundError: sun/misc/Cleaner    at libcore.util.NativeAllocationRegistry_Delegate.registerNativeAllocation(NativeAllocationRegistry_Delegate.java:81)    at libcore.util.NativeAllocationRegistry.registerNativeAllocation(NativeAllocationRegistry.java:231)    at android.graphics.RenderNode.(RenderNode.java:228)    at android.graphics.RenderNode.create(RenderNode.java:243)    at android.view.View.(View.java:5063) at android.view.View.(View.java:5201)    at android.view.ViewGroup.(ViewGroup.java:675)    at android.view.ViewGroup.(ViewGroup.java:671)    at android.view.ViewGroup.(ViewGroup.java:667)    at android.view.ViewGroup.(ViewGroup.java:663)    at android.widget.FrameLayout.(FrameLayout.java:85)   at com.android.layoutlib.bridge.impl.Layout.(Layout.java:140)

i've tried everything, installing again, updating everything, setting to older versions, changing rendering version, etc. Everything i could find on the internet doesn't seem to work.

please help

0

There are 0 answers