"Cannot read properties of undefined (reading 'match')" when exporting APK-file for project imported from MIT App Invenvtor

[+] I checked out Kodular Fenix (v1.5.0) Bug Tracker before creating a new topic

Describe your issue

Kodular Create cannot generate APK-file for a simple project imported from MIT App Inventor.

Steps to reproduce the issue

  1. Create a project in MIT App Inventor (I’ve followed the built-in template TranslateApp with subsequent modifications)
  2. Export it in AIA-format from MIT App Inventor.
  3. Import into Creator: Project => Import project (.aia) from my computer
  4. Generate APK: Export => Andoid Apk (*.apk)

Expected Behaviour

APK-file should be generated.

Actual Behaviour

Creator shows the message:

Error generating Yail for screen 4505979129430016_Screen1: : Cannot read properties of undefined (reading ‘match’). Please, fix and try packaging again.

Show your Blocks

The project exported from App Inventor is attached as ZIP-archive:
SimpleYandexTranslator.aia.zip (34.5 KB)

Android version


Welcome to the community. Next time use please use search :mag:

Search for Cannot read properties of undefined

Error is caused by missing properties in android.settings because you imported aia from MIT App Inventor. Try this one

SimpleYandexTranslator_1.aia (34.9 KB)

Since this has been anwsered many times I close topic and unlist it

1 Like