CSharpShellApp icon indicating copy to clipboard operation
CSharpShellApp copied to clipboard

Error look this please fix it

Open QPLAYid opened this issue 2 years ago • 13 comments

Screenshot_2023-02-17-17-15-59-324_com radinc csharpshell

QPLAYid avatar Feb 17 '23 08:02 QPLAYid

This version app : 3.0.7 and 3.0.8 same error

QPLAYid avatar Feb 17 '23 08:02 QPLAYid

No, to my knowledge nothing in the app code or dependencies tries to access a "filesconfig.json". This is your code. In which case the Exception is self descriptive: file (path) doesn't exist. Check your path

radimitrov avatar Feb 17 '23 08:02 radimitrov

I try old version ist work but i update and doesnt work

QPLAYid avatar Feb 17 '23 12:02 QPLAYid

Screenshot_2023-02-17-21-36-11-516_bin mt plus

Already fix but must manualy edit file name to name filesconfig.json

QPLAYid avatar Feb 17 '23 12:02 QPLAYid

Screenshot_2023-02-17-21-38-05-667_com radinc csharpshell

And work now

But firs install and run project this file name not filesconfig.json and must manual edit rename to fileconfig.json

QPLAYid avatar Feb 17 '23 12:02 QPLAYid

The APK might not have a writable default path? Are you using relative paths? However the second statement is impossible unless you've renamed the file from "filesconfig.json" to "fileconfig.json" since paths don't change by themselves.

radimitrov avatar Feb 18 '23 18:02 radimitrov

Yes must manualy edit but after reopen app error because apk cant read filesconfig.json

QPLAYid avatar Feb 19 '23 05:02 QPLAYid

Screenshot_2023-02-19-14-33-26-527-edit_bin mt plus

So i created two file CSharpShellSettings.json fix for reopen app error And filesconfig.json for fix project error

QPLAYid avatar Feb 19 '23 05:02 QPLAYid

Screenshot_2023-02-19-14-43-53-129_com companyname program

Same error after i export to apk And i installed apk and open i get same error

QPLAYid avatar Feb 19 '23 05:02 QPLAYid

The APK might not have a writable default path? Are you using relative paths? However the second statement is impossible unless you've renamed the file from "filesconfig.json" to "fileconfig.json" since paths don't change by themselves.

Can you fix it ? Musy manually add file name filesconfig.json

QPLAYid avatar Feb 19 '23 05:02 QPLAYid

@QPLAYid I can't fix since I don't think there is something wrong. I've already released an update to the plugin that does Directory.SetCurrentDirectory(FilesDir.AbsolutePath);. So that is the default path. That screenshot looks like C# Shell's app data folder (DataDir). To clarify you do know that when you install an APK it has its own app private files directories, right? Different paths, different access rights - 2 apps can't access each other's private directories. Your files can't automatically get copied into the new app's private directories.

radimitrov avatar Feb 20 '23 12:02 radimitrov

It same when i firs time instaal c shell and i run error must create new file on directori root /Data/app/cshell But versi old can doit without add filels because c shell auto create

QPLAYid avatar Feb 22 '23 22:02 QPLAYid

@QPLAYid I can't fix since I don't think there is something wrong. I've already released an update to the plugin that does Directory.SetCurrentDirectory(FilesDir.AbsolutePath);. So that is the default path. That screenshot looks like C# Shell's app data folder (DataDir). To clarify you do know that when you install an APK it has its own app private files directories, right? Different paths, different access rights - 2 apps can't access each other's private directories. Your files can't automatically get copied into the new app's private directories.

But if cant. Its okay

QPLAYid avatar Feb 22 '23 22:02 QPLAYid