0

I have a rather difficult question (I think ;))

I have a folder, and all its contents are taken together for model creation. This is happening in an Kotlin module in a React Native (CLI) project. I tried all sorts of absolute paths but it keeps giving me the error that I can't find the files.

I now tried to put it in an 'assets' folder that is on the level of main like so:

Android structure within react native

I found all kinds of answers on stackoverflow, but they all refer to files not directories.

Does anyone have an idea?

L Pinter
  • 1
  • 2
  • Maybe you can add the links to the other question for more context of the issue! – strdr4605 Dec 07 '20 at 10:49
  • This is a bit similar i think: https://stackoverflow.com/questions/42739807/how-to-read-a-text-file-from-resources-in-kotlin – L Pinter Dec 07 '20 at 10:52

0 Answers0