Issue in create file in mobile (ex:- test.txt)

No, even if WRITE permission is granted, it doesn’t work. Nothing happens, no error message …

Can you share a simple apk? Then I can test it with logcat if there is any message :slight_smile:

Just a question but look at the input path. It starts with 2 //
That means the file path is external. And you know the companion stores his files external. That’s why it works for you with companion but not as apk

It starts with 2 // That means the file path is external.

No, this should be the path to the assets:
File_copyFromAssets.apk (4.9 MB)

Or what is the correct path to the assets in Kodular?

Taifun’s extension is not our component. So you can not expect that his block description is the same for our component.
If it’s a asset file then just use it’s name like “text.txt” and not “//text.txt

Of course, you are right, but I tried every path, also without a slash.

Doesn’t work too.
See here:

grafik

Yes I know. I just looked at the code and it can not work.
I need to rewrite it. Not sure who of us (Kodular) created these blocks.

1 Like

As I said, I have reported this bug several times, see e.g. here:


It should therefore also be in the bug list.

@Kodular Someone with time should add there all fixed things (to bug tracker topic)

@bodymindpower I try to fix the broken block for copy files now. It will use the same logic like taifuns extension. If started with 2 slashes then it’s a asset.

2 Likes

Is there anything new about when that will be fixed?
It does not work yet.