Facing error build error

can anyone tell me why this error was showing? I think for pager extension. But my app was working perfectly on companion.
Kodular is unable to compile this project.

The compiler error output was
________Preparing application icon
________Creating animation xml
________Creating fragment xml
________Creating listview xml in res/layout/…
________Creating listview xml in res/layout-v21/…
________Creating xml in res/drawable/…
________Creating splash png in res/drawable/…
________Creating colors xml
________Creating styles xml
________Creating drawables xml v21
________Checking for firebase
________Creating provider_path xml
________Creating network_security_config xml
________Generating adaptive icon file
________Generating round adaptive icon file
________Generating adaptive icon background file
________Generating manifest file
________Attaching native libraries
________Attaching Android Archive (AAR) libraries
________Attaching component assets
________Invoking AAPT
AAPT time: 3.747 seconds
________Compiling source files
(compiling io/kodular/msr79526/DokanNai/CheakOut.yail to io.kodular.msr79526.DokanNai.CheakOut)
(compiling io/kodular/msr79526/DokanNai/map.yail to io.kodular.msr79526.DokanNai.map)
(compiling io/kodular/msr79526/DokanNai/type.yail to io.kodular.msr79526.DokanNai.type)
(compiling io/kodular/msr79526/DokanNai/Cart.yail to io.kodular.msr79526.DokanNai.Cart)
(compiling io/kodular/msr79526/DokanNai/signup.yail to io.kodular.msr79526.DokanNai.signup)
(compiling io/kodular/msr79526/DokanNai/Search.yail to io.kodular.msr79526.DokanNai.Search)
(compiling io/kodular/msr79526/DokanNai/Login.yail to io.kodular.msr79526.DokanNai.Login)
(compiling io/kodular/msr79526/DokanNai/Catogary.yail to io.kodular.msr79526.DokanNai.Catogary)
(compiling io/kodular/msr79526/DokanNai/Order_detailes.yail to io.kodular.msr79526.DokanNai.Order_detailes)
(compiling io/kodular/msr79526/DokanNai/Home.yail to io.kodular.msr79526.DokanNai.Home)
(compiling io/kodular/msr79526/DokanNai/Internet.yail to io.kodular.msr79526.DokanNai.Internet)
(compiling io/kodular/msr79526/DokanNai/preview.yail to io.kodular.msr79526.DokanNai.preview)
(compiling io/kodular/msr79526/DokanNai/My_order.yail to io.kodular.msr79526.DokanNai.My_order)
(compiling io/kodular/msr79526/DokanNai/Fav.yail to io.kodular.msr79526.DokanNai.Fav)
(compiling io/kodular/msr79526/DokanNai/Categories.yail to io.kodular.msr79526.DokanNai.Categories)
(compiling io/kodular/msr79526/DokanNai/My_Account.yail to io.kodular.msr79526.DokanNai.My_Account)
(compiling io/kodular/msr79526/DokanNai/Screen1.yail to io.kodular.msr79526.DokanNai.Screen1)
(compiling io/kodular/msr79526/DokanNai/Intro.yail to io.kodular.msr79526.DokanNai.Intro)
io/kodular/msr79526/DokanNai/Intro.yail:474: internal error while compiling io/kodular/msr79526/DokanNai/Intro.yail
java.lang.RuntimeException: no such class: com.dreamers.pager.Pager
at gnu.bytecode.ObjectType.getReflectClass(ObjectType.java:179)
at gnu.bytecode.ClassType.getModifiers(ClassType.java:103)
at gnu.bytecode.ClassType.isInterface(ClassType.java:471)
at gnu.expr.InlineCalls.checkType(InlineCalls.java:56)
at gnu.expr.InlineCalls.visit(InlineCalls.java:49)
at gnu.expr.InlineCalls.visitSetExpValue(InlineCalls.java:363)
at gnu.expr.InlineCalls.visitSetExpValue(InlineCalls.java:28)
at gnu.expr.ExpVisitor.visitSetExp(ExpVisitor.java:114)
at gnu.expr.InlineCalls.visitSetExp(InlineCalls.java:369)
at gnu.expr.InlineCalls.visitSetExp(InlineCalls.java:28)
at gnu.expr.SetExp.visit(SetExp.java:406)
at gnu.expr.ExpVisitor.visit(ExpVisitor.java:55)
at gnu.expr.InlineCalls.visit(InlineCalls.java:46)
at gnu.expr.InlineCalls.visitBeginExp(InlineCalls.java:272)
at gnu.expr.InlineCalls.visitBeginExp(InlineCalls.java:28)
at gnu.expr.BeginExp.visit(BeginExp.java:156)
at gnu.expr.ExpVisitor.visit(ExpVisitor.java:51)
at gnu.expr.InlineCalls.visit(InlineCalls.java:46)
at gnu.expr.QuoteExp.validateApply(QuoteExp.java:162)
at gnu.expr.InlineCalls.visitApplyExp(InlineCalls.java:119)
at gnu.expr.InlineCalls.visitApplyExp(InlineCalls.java:28)
at gnu.expr.ApplyExp.visit(ApplyExp.java:410)
at gnu.expr.ExpVisitor.visit(ExpVisitor.java:55)
at gnu.expr.InlineCalls.visit(InlineCalls.java:46)
at gnu.expr.InlineCalls.visit(InlineCalls.java:28)
at gnu.expr.LambdaExp.visitChildrenOnly(LambdaExp.java:1664)
at gnu.expr.LambdaExp.visitChildren(LambdaExp.java:1651)
at gnu.expr.InlineCalls.visitScopeExp(InlineCalls.java:279)
at gnu.expr.InlineCalls.visitLambdaExp(InlineCalls.java:349)
at gnu.expr.InlineCalls.visitLambdaExp(InlineCalls.java:28)
at gnu.expr.ExpVisitor.visitModuleExp(ExpVisitor.java:103)
at gnu.expr.ModuleExp.visit(ModuleExp.java:482)
at gnu.expr.ExpVisitor.visit(ExpVisitor.java:51)
at gnu.expr.InlineCalls.visit(InlineCalls.java:46)
at gnu.expr.InlineCalls.inlineCalls(InlineCalls.java:33)
at gnu.expr.Compilation.walkModule(Compilation.java:994)
at gnu.expr.Compilation.process(Compilation.java:1965)
at gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:330)
at gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:315)
at gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:315)
at gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:315)
at kawa.repl.compileFiles(repl.java:783)
at kawa.repl.processArgs(repl.java:412)
at kawa.repl.main(repl.java:827)
Caused by: java.lang.ClassNotFoundException: com.dreamers.pager.Pager
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at gnu.bytecode.ObjectType.getContextClass(ObjectType.java:108)
at gnu.bytecode.ObjectType.getReflectClass(ObjectType.java:172)
… 43 more
Kawa compile time: 3.892 seconds
.

Have you updated View pager extension to V. 2.0 ?

I am not sure but i think the error is caused due to the extension Proguard.

Yes I updated. & I said that it works fine in the companion. @iamwsumit now what should I do can you tell me?

Well, I just figured the issue. I don’t know exactly why this is happening .
@zainulhassan , can answer about this.

1 Like

@zainulhassan waiting for your reply :disappointed_relieved:

What are the other extensions you are using?

this error was showing confirmed for pager extension. I delete the extension & build the app succsessfully

3 Likes

I have same problem @zainulhassan

I have just compiled the app and everything is working fine.

Can you list all the extensions that you are using?


@zainulhassan all extensions in my project

Can you show us your error log??

@Still-learning @zainulhassan now logs is disappear , i export the apk and work fine but when i tested in companion show me white screen see the screenshot :point_down: :point_down:

show me white screen, this happens when i add this extension in one of my screens but if i removed from that screen the companion works fine.


Im using only 2 extensions , dynamic Componenets and ClickUtitlty , no errors showing in block section and companion also working fine