Error unable to compile this app - Firebase Extension

I got this when i try to export my app to .apk.

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 appinventor/ai_smalldev/Alarm/Screen1.yail to appinventor.ai_smalldev.Alarm.Screen1)
ERROR: appinventor/ai_smalldev/Alarm/Screen1.yail line 973: caught exception in inliner for # - java.lang.RuntimeException: no such class: com.mirxtremapps.FirebaseAuth
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: 3.582 seconds

Help!!
Thank you.

It looks like there is some mistake with your use of firebase authentication extension. Just check it.

(Just a guess though. Not sure :slight_smile: )

1 Like

Perhaps @mirxtrem_apps can shed some light on this? Is there a setting that @Kamoba needs to change or is it more likely an empty socket/block error?

Definitely it’s Firebase authentication extension, if I remove it the compilation goes well.
On the original project there is no error reported (the red triangle icon), but while making a copy of the project for testing I see that the SignInWithEmailEndPassword function block is disconnected and disabled and refuses to reconnect.
FirebaseAuthUserData no more available.
I use the extension downloaded here.
And I did add the API key.

Sometime i get this error too:

Error generating Yail for screen 4912629486190592_Screen1: : parent_0.getParameters(…) is undefined. Please fix and try packaging again.

Just re-download the the latest copy of extension and use that in your project and see what happens. :+1:

(it may happen that your existing copy of extension got corrupted when you copied your project)

I already did and it say

Extension Upgraded : FirebaseAuth

But still error

Then as @domhnallohanlon said contact @mirxtrem_apps for further help

OK thanks i just did. Do you know an alternative extension for Firebase (Authentication) ?

No.

have you try this?

Thank you for your answer.
I use the extension on two screens, so I thought maybe I mixed two versions of the extension so like advised Vaibhav_Patil I removed everything and reloaded the Firebase Authentication V.3.0 version but it still doesn’t work.
So I downloaded the FirebaseAuth update (NEW FEATURES) version and now it works!

Ps: it would be nice to update the main link of the extension because the page displays “This Account has been suspended”.

Thank you!