Error 2101 file not found

Hi everyone,

I just started using MIT App Inventor today on PC – I’m a complete beginner.
I’m trying to create a “Guess Up” / “Charades”-style app with the help of ChatGPT guiding me step by step.

So far, I’ve managed to build a first draft of the app. On the first screen, I have:

  • A dropdown to choose the card deck
  • A dropdown to choose the team
  • A start button
  • A label that shows a word to guess

For the first deck (animals), I used a .txt file called animali.txt, which contains a list of animal names (one per line).
I tried to make the app read the file, split the words, and display them one by one.

However, when I test the app on my phone via APK, I get this error:

ERROR 2101: The file could not be found

Any idea what I’m doing wrong?
Thanks in advance – I’m attaching everything for clarity.

animali.txt (1.1 KB)



Where did you store the animali.txt file?

A complete beginner? Have you done the App Inventor tutorials etc. and tried to learn how to use the Blocks? If you have not then how can you expect to follow ChatGPT's often erroneous instructions?

Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.

There is a free programming course here Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps

How to do a lot of basic things with App Inventor are described here: How do you...? .

Also look here App inventor español. Offline. Tutorial. Ejemplos. Instalación. Códigos. Juegos. Curso gratis de App inventor. and here Tutorial Index | imagnity for more tutorials including Imagnity.com List Tutorial, Mirrored - @Saj

Learn about components Component Reference
and visit the Library The MIT App Inventor Library: Documentation & Support Help>Library on the MENU

Media file names need to be preceded with //

http://ai2.appinventor.mit.edu/reference/components/storage.html#File

I stored the file in the internal storage of the app by upload the file in (?)

I watched some basic tutorials, Chatgpt give me a general guide/lines and I like to experiment right in the invetor. I'm trying to make a really basic app to learn the program, I don't have the presumption of knowing how to use it with just gpt chat.

Thanks for the tutorials I will watch them...

Try this (//animali.txt):

grafik

or this:

grafik