Android Question Compliation Error

Richard Phipps

Member
Licensed User
I suddenly have this error on compilation and dont understand it. I download v11. and Copied a GPS project to my which where the two changes i have made!

What does it mean please

B4A Version: 11.00
Parsing code. (0.16s)
Java Version: 8
Building folders structure. (0.09s)
Running custom action. Error
-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows
-------------------------------------------------------------------------------
Started : 20 July 2021 12:10:54
Source : C:\Users\raphi\OneDrive\Android After 17-7-21\Shared Files\
Dest : C:\Users\raphi\OneDrive\Android After 17-7-21\FlyingLog\Files\
Files : *.*

Options : *.* /DCOPY:DA /COPY:DAT /R:1000000 /W:30
------------------------------------------------------------------------------
2021/07/20 12:10:54 ERROR 2 (0x00000002) Accessing Source Directory C:\Users\raphi\OneDrive\Android After 17-7-21\Shared Files\
The system cannot find the file specified.
 

DonManfred

Expert
Licensed User
Longtime User
Try it with path and foldername without spaces in it.
Or maybe enclose the path in "
 
Upvote 0

MikeSW17

Active Member
Licensed User
Longtime User
Try it with path and foldername without spaces in it.
Or maybe enclose the path in "

Slightly OT tip, even after years, Windows *still* has the old DOS 8.3 short file names present!

So whenever a folder/file 'without spaces' (or other special characters) is recommended, rather than renaming the windows file/folder,
using "dir /x" in a command prompt will reveal the 8.3 equivalent which can be used.
Not necessarily recommended for long term use, and probably won't work at all for software release to other devices where the 8.3 names may different or not extst.
 
Upvote 0
Top