Menu

Error in one project

Frank
2023-02-15
2023-03-01
  • Frank

    Frank - 2023-02-15

    I have a problem with a project with multiple screens and some extensions.
    AI2Offline version 4.64

    error code:

    java.lang.NoSuchMethodError: No static method setFontTypeface(Landroid/widget/TextView;IZZ)V in class Lcom/google/appinventor/components/runtime/util/TextViewUtil; or its super classes (declaration of 'com.google.appinventor.components.runtime.util.TextViewUtil' appears in /data/app/~~roJbWSJ42NCFaz_Hn4UIWw==/com.rpa.ai2offline.companion-WjQtGSMlkOfefNft1b_4PA==/base.apk)
    Note: You will not see another error reported for 5 seconds.

    The error occurs both with AI Companion and after installing the builded apk.

    The error doesn't tell me anything and I can't narrow it down any further.
    Can someone help me please.

    So far the project has worked with older version of AI2Offline and in the latest MIT Appinventor version.

    What's wrong?

    Addendum 1:
    It seems to be due to the extension TableView version 4.

    Addendum 2:
    Here is the aia file that generates the error.
    It is amazing that the same aia file works without any problems in the AI2 online version, also created as an apk on the smartphone using AI2 Online.

    Frank

     

    Last edit: Frank 2023-02-17
  • Ramiro  Prieto Alvarez

    the error occurs here too. https://ai2-test.appinventor.mit.edu/
    So the error must be in Custom Font Typeface Support.

     
  • Frank

    Frank - 2023-02-17

    ramiro,

    thanks for the answer.

    Is this a problem with MIT App Inventor or with the extension?

    How can I solve the problem?

    Unfortunately, the Custom Font Typeface Support doesn't tell me anything.

    Frank

     
  • Frank

    Frank - 2023-03-01

    The problem has been identified. It is due to the incorrect extension TableView. This must be adjusted. As long as the developer doesn't do this, there is only one solution: use the TableViewer extension

    Is connected with expenditure, with the other extension it functions.

    Frank

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.