Android Question Error when compiling using FusedLocatorProviderGMS

warayTek

Member
Licensed User
Hello there! I 'am trying to test the example FusedLocationProviderGMS provided in this link. However, I am encountering errors when compiling.
B4X:
B4A Version: 12.80
Parsing code.    (0.02s)
    Java Version: 11
Building folders structure.    (0.02s)
Running custom action.    Error
-------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows                           
-------------------------------------------------------------------------------
  Started : Thursday, 18 April 2024 9:14:53 am
   Source : C:\Users\melvin\OneDrive\DOCUME~1\JDEGOR~1\THESIS~3\FUSEDE~1\Shared Files\
     Dest : C:\Users\melvin\OneDrive\DOCUME~1\JDEGOR~1\THESIS~3\FUSEDE~1\B4A\Files\
    Files : *.*    
  Options : *.* /DCOPY:DA /COPY:DAT /R:1000000 /W:30
------------------------------------------------------------------------------
2024/04/18 09:14:53 ERROR 2 (0x00000002) Accessing Source Directory C:\Users\melvin\OneDrive\DOCUME~1\JDEGOR~1\THESIS~3\FUSEDE~1\Shared Files\
The system cannot find the file specified.
What file am I missing?
 

Harris

Expert
Licensed User
Longtime User
Hello there! I 'am trying to test the example FusedLocationProviderGMS provided in this link. However, I am encountering errors when compiling.
B4X:
B4A Version: 12.80
Parsing code.    (0.02s)
    Java Version: 11
Building folders structure.    (0.02s)
Running custom action.    Error
-------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows                          
-------------------------------------------------------------------------------
  Started : Thursday, 18 April 2024 9:14:53 am
   Source : C:\Users\melvin\OneDrive\DOCUME~1\JDEGOR~1\THESIS~3\FUSEDE~1\Shared Files\
     Dest : C:\Users\melvin\OneDrive\DOCUME~1\JDEGOR~1\THESIS~3\FUSEDE~1\B4A\Files\
    Files : *.*   
  Options : *.* /DCOPY:DA /COPY:DAT /R:1000000 /W:30
------------------------------------------------------------------------------
2024/04/18 09:14:53 ERROR 2 (0x00000002) Accessing Source Directory C:\Users\melvin\OneDrive\DOCUME~1\JDEGOR~1\THESIS~3\FUSEDE~1\Shared Files\
The system cannot find the file specified.
What file am I missing?


AddApplicationText(<meta-data android:name="com.google.android.gms.version" android:value="@Integer/google_play_services_version" />)

Do you have this in your manifest?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
AddApplicationText(<meta-data android:name="com.google.android.gms.version" android:value="@Integer/google_play_services_version" />)
It is not related to the posted error.

And the correct way to add this meta data is with:
B4X:
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
 
Upvote 0

josejad

Expert
Licensed User
Longtime User
Try to copy the project to a local drive, not a "cloud" one (onedrive)
 
Upvote 0
Top