Problem with save as 1 project


#1

I try to “save as” to 1 app, then it is coming down again i want to recreate it.
When there is no problem with the original app .
Thunkable is unable to compile this app.

The compiler error output was
________Preparing application icon
________Creating values xml
________Creating animation xml
________Creating fragment xml
________Generating manifest file
________Attaching native libraries
________Attaching component assets
________Attaching ttf files
________Attaching project-info.txt file
________Compiling source files
(compiling com/shivendrakumarsahu/xyx/Screen1.yail to com.shivendrakumarsahu.xyz.Screen1)
ERROR: com/shivendrakumarsahu/xyz/Screen1.yail line 664: caught exception in inliner for # - java.lang.RuntimeException: no such class: co.com.dendritas.TabsSwipe.TabsSwipe
gnu.bytecode.ObjectType.getReflectClass(ObjectType.java:179)
gnu.bytecode.ClassType.getModifiers(ClassType.java:103)
gnu.bytecode.ClassType.isInterface(ClassType.java:471)
gnu.expr.InlineCalls.checkType(InlineCalls.java:56)
gnu.expr.InlineCalls.visit(InlineCalls.java:49)
gnu.expr.InlineCalls.visitSetExpValue(InlineCalls.java:363)
gnu.expr.InlineCalls.visitSetExpValue(InlineCalls.java:28)
gnu.expr.ExpVisitor.visitSetExp(ExpVisitor.java:114)
gnu.expr.InlineCalls.visitSetExp(InlineCalls.java:369)
gnu.expr.InlineCalls.visitSetExp(InlineCalls.java:28)
gnu.expr.SetExp.visit(SetExp.java:406)
gnu.expr.ExpVisitor.visit(ExpVisitor.java:55)
gnu.expr.InlineCalls.visit(InlineCalls.java:46)
gnu.expr.InlineCalls.visitBeginExp(InlineCalls.java:272)
gnu.expr.InlineCalls.visitBeginExp(InlineCalls.java:28)
gnu.expr.BeginExp.visit(BeginExp.java:156)
gnu.expr.ExpVisitor.visit(ExpVisitor.java:51)
gnu.expr.InlineCalls.visit(InlineCalls.java:46)
gnu.expr.InlineCalls.visit(InlineCalls.java:28)
gnu.expr.ExpVisitor.visitAndUpdate(ExpVisitor.java:161)
gnu.expr.ExpVisitor.visitExps(ExpVisitor.java:175)
gnu.expr.ApplyExp.visitArgs(ApplyExp.java:416)
gnu.kawa.functions.CompileMisc.validateApplyAppendValues(CompileMisc.java:139)
sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
gnu.expr.InlineCalls.maybeInline(InlineCalls.java:467)
gnu.expr.QuoteExp.validateApply(QuoteExp.java:150)
gnu.expr.InlineCalls.visitApplyExp(InlineCalls.java:119)
gnu.expr.InlineCalls.visitApplyExp(InlineCalls.java:28)
gnu.expr.ApplyExp.visit(ApplyExp.java:411)
gnu.expr.ExpVisitor.visit(ExpVisitor.java:55)
gnu.expr.InlineCalls.visit(InlineCalls.java:46)
gnu.expr.InlineCalls.visit(InlineCalls.java:28)
gnu.expr.LambdaExp.visitChildrenOnly(LambdaExp.java:1664)
gnu.expr.LambdaExp.visitChildren(LambdaExp.java:1651)
gnu.expr.InlineCalls.visitScopeExp(InlineCalls.java:279)
gnu.expr.InlineCalls.visitLambdaExp(InlineCalls.java:349)
gnu.expr.InlineCalls.visitLambdaExp(InlineCalls.java:28)
gnu.expr.ExpVisitor.visitModuleExp(ExpVisitor.java:103)
gnu.expr.ModuleExp.visit(ModuleExp.java:482)
gnu.expr.ExpVisitor.visit(ExpVisitor.java:51)
gnu.expr.InlineCalls.visit(InlineCalls.java:46)
gnu.expr.InlineCalls.inlineCalls(InlineCalls.java:33)
gnu.expr.Compilation.walkModule(Compilation.java:994)
gnu.expr.Compilation.process(Compilation.java:1965)
gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:330)
gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:315)
gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:315)
gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:315)
kawa.repl.compileFiles(repl.java:783)
kawa.repl.processArgs(repl.java:412)
kawa.repl.main(repl.java:827)
Kawa compile time: 4.849 seconds


#2

I think there is some problem in TabsSwipe Extension. Though i am not sure exactly.


#3

bhaee agr TabsSwipe Extension me problom hoti to pahle wala aap q bn rha hai


#4

It could happen that during Save As process the extension may get break.


#5

how can u say ?
have u any example ?
it may possibly @Andres_Cotes ???


#6

No I don’t have any example of it. I am just pointing towards one of the possibility of the error looking at the error message. Rest the developer can put more light on it.


#7

How to avoid runtime errors with the companion app

  1. After importing an extension, please restart the companion app.
  2. If you like to use an extension on a different screen, in Screen1 additionally drag the extension into the working area.

While starting the companion app, all necessary assets and also the imported extensions of your project will be copied to your device. So in case the no such class error shows up, the extension code to run the extension is not available on your device. Without that code the companion app is not able to execute methods from the extension.

EDIT: sorry, I just have seen, the error occurs while building the app…
you might want to reimport the extension and then try to build again

Taifun


#8

Andres Cotes which extension you are using, if send screenshots or check your internet connection


#9

im using Tabs look whatsapp


#10

Make sure internet connection


#11

internet connection are sure


#12

I was same problem when im working with Pc to build apk same error i got today and i tried from my mobile device beginning i got error later on i successfully build apk.

close project and refreshing login


#13

Shivendra,

Sorry to hear about your problem.

If you could send us an .aia file for this project we can try to help diagnose the issue. Feel free to attach it to a direct message to me if you want to keep it private.

-Mark


#14

I also today same problem. As same error message found my app. I already posted app in play store. Yesterday i did some work on it and build compailer error or build apk error



#15

Franky,

As with Shivendra, if you could send us an .aia file for this project we can try to help diagnose the issue. Feel free to attach it to a direct message to me if you want to keep it private.

-Mark


#16

thanks for your reply. if you share me your email address, I will send you directly share aia. In my project their is paid Extension.


#17

From the text of that error (and my own testing with your .aia) it appears that the problem is with the SandersListView extension. I would suggest getting in touch with the developer of that extension and showing him the error. You might also ask the community if they have had any issues with that extension.

-Mark


#18

@Andres_Cotes

Please check attached message.