Runtime error with Extension


#1

I am trying to use google mobile vision into my extension, but if I try to use it inside an app, create into app.thunkable.com, I receive the error:

invoke: no method named `’ in class java.lang.boolean

Anyway, I receive this error every time I use a function that try to create the camera source.
So my question is: it’s a normal behaviour, or is something that I don’t have take care?
Thanks in advance


#2

It might just be incompatible with Thunkable, Have you tried on the original AI2 ? When ever i tinker with the Ai2 Sources i test them on ai2 first,


#3

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.

Taifun