Android Question Beginner problem with Files Tab

ralvy

Member
Licensed User
I went through the tutorial and created both programs there successfully. So I started on a new one from scratch. I created two different layouts with Designer and saved each one to a different filename ('Main' and 'EditCard'). I see those two files in the Files folder (each with extension .bal).

When I open the project after saving it, I am told it cannot create these two files because they already exist. I'm confused.

I see them in the Files Tab and see them in the Files folder.
 

ralvy

Member
Licensed User
When I load the Files Manager and click on the Sync button, I am told I cannot create a file when it already exists.
I think I narrowed this down. I was loading the B4A project from a Dropbox folder that is housed on a Mac. If I run a B4A project from a Mac Dropbox folder, and I use Designer to attempt to create a new layout file that has an uppercase letter anywhere in its filename, I get that error message ("can't create a file that already exists") and will continue to get that error message every time I load the project and when I attempt to Sync the Files Manager. However, if I move that project folder to the Desktop and load the project from there, the existing layout files load fine and Sync works fine. If I then move that folder back to my Dropbox folder, it works fine with these layout files.

So the rule for loading B4A projects in a Dropbox folder is to not create new layout files there with uppercase letters in their filenames, or else load that project from the Desktop at some point.

Does this make sense?
 
Upvote 0

ralvy

Member
Licensed User
Ok. I'll stop doing that with B4A.

I have narrowed it down even more. When a B4A project is running from a Dropbox folder, any attempt to save a layout with a filename with uppercase letters will show the filename with uppercase letters in B4A Files Manager and actually save it to disk with those uppercase letters. However, when run from outside Dropbox, that will still show the filenames with uppercase letters in B4A Files Manager, but will actually save them to disk with no uppercase letters.
 
Upvote 0

ralvy

Member
Licensed User
I have switched to using BitBucket and Sourcetree for offline storage and version control of B4A projects, so I can work on projects from two different computers. This way I don't have to worry about the problems I have with B4A on Dropbox.

I'm having Sourcetree ignore Objects/* and *.meta for now.
 
Upvote 0
Top