java.lang.NoClassDefFoundError: in Companion

Hello there. I’m trying to create a component that uses design-28.0.0 library. But the issue is whenever I add it, and try to connect to the companion companion throws this error java.lang.NoClassDefFoundError: com.google.appinventor.runtime.util.WebRTCNativeMgr$1 and the progress bar stucks. What could be the most possible reason for the issue and the possible solution ?

Thanks

Somehow your build process is dropping some classes (proguard maybe?). That class in question is an anonymous inner class (likely a Runnable), and it’s not making it into your final build. First confirm you can build master without issue and then start by adding the library back and see if it works then.

1 Like

Okay, thanks for your reply.I will test and get back.

Problem solved, it was a issue in our source. Thanks :+1: