Android Question Access to folder denied

engvidal

Member
Licensed User
Longtime User
Hi

Starting today, I can not direct compile my app. I receive this error message:

Access to the path 'C:\GOOGLEDRIVE\Workspace_B4X\1_B4A\02-AlertaTemperatura\Objects\b4xlibs\Files' is denied.

The workaround I found is to delete before each compilation all folders inside C:\GOOGLEDRIVE\Workspace_B4X\1_B4A\02-AlertaTemperatura\Objects.

Then the compilation process recreates all and it works.

These files and folders ARE NOT read-only or hidden.

Thanks
 

DonManfred

Expert
Licensed User
Longtime User
But they are on a shared folder (Dropbox, Drive, and so on) which is not good.
 
Upvote 0

engvidal

Member
Licensed User
Longtime User
OK, thanks.

I was thinking. Will it be a collateral effect of the new google drive for desktop ?

Google Drive
Version: 50.0.11.0

I did the update and resync this week. In the older version the shared folder was not a problem
 
Upvote 0

engvidal

Member
Licensed User
Longtime User
Hi DonManfred

I tried with these folders structure:

c:\users\vidal\B4X_files\example
c:\B4X_files\example


Inside that a new B4A simple empty project

I get the same error with the two folders structure:

B4A Version: 11.00
Parsing code. (0.43s)
Java Version: 8
Building folders structure. Error
Access to the path 'C:\B4X_Files\example\Objects\b4xlibs\Files' is denied.
 
Upvote 0

rscheel

Well-Known Member
Licensed User
Longtime User
@engvidal @Erel The same thing happens to me since I update FileStream to google drive, the object folder crashes and does not allow compiling, actually I also crash Android Studio projects, but I solved it by downloading the backup, but in B4A I can't find a solution
 
Upvote 0

appie21

Active Member
Licensed User
Longtime User
I have also sinds i started google drive today is there a fix for it

I have try to copy my project yo c:\b4a and open it from there with any luck

Strange ebnough if i make a new project it work fine.B4A Version: 11.80

Parsing code. (0.08s)
Java Version: 11
Building folders structure. Error
Toegang tot het pad C:\Users\alber\Documents\b4a\Active code\B4A\Objects\bin\classes\b4a\example\designerscripts is geweigerd.

means ignored

some one can help

I have also stop google drive

Solved

Clean Objects EXCLUSIVE manifest..
 
Last edited:
Upvote 0
Top