1

I am using from tinydb import TinyDB, Query to import the tinydb module. This works completely fine when testing my python and kivy code. After using buildozer to create an apk and debugging, it is saying that it crashed because of ImportError: no module named tinydb. Any help would be appreciated!

Azaro
  • 53
  • 1
  • 12

1 Answers1

2

In the requirement section of your buildozer.spec you should add the modules your programm needs:

requirements = kivy,tinydb

This is also described in the buildozer documentation

I'm not sure what you need, but maybe the sqlite package (which is included in the python standard library) also fits your needs.

You can also download the repository as zip. Then you can copy the tinydb folder from the zip into your project. With this method you do not get any updates, but it works ;)

salomonderossi
  • 2,180
  • 14
  • 20