Solved! Go to Solution.
The provided installation scripts create symlinks to the binaries in the package folder downloaded from pub.dev. This is a required step making installation and updates more automated for both macOS and Windows development environments. For Windows, configuring symlinks requires an administrative account or a user-level account in Developer Mode.
If you are using two different accounts and having problems with the symlinks, which the above errors seem to indicate, it may be that the package is being saved somewhere in the administrative account that is inaccessible to the user account. If you are unable to use an administrative account or a user-level account in Developer Mode, then you could manually copy the ArcGIS binaries from the package folder. Note that the files would need to be re-copied whenever the ArcGIS Maps pub.dev package is updated.
To copy the files:
Hello, and thanks for reaching out through the forum. I see you are having an issue building for Android. Could you please provide some more information about your issue?
Providing this information and anything else you can think of will help us better assist you.
development Windows 11
I built this project using admin account, now switched to normal user account and am getting error . If you remove this dependency. The project is being built without any errors
On the command line in your app’s top folder, please try running `flutter pub upgrade` followed by `dart run arcgis_maps install`. Then try building your app again.
Built arcgis_maps:arcgis_maps.
Installing arcgis_maps_core from https://gisupdates.esri.com/ArcGIS_MapsSDK/200.6.0/arcgis_maps_core.tar.gz
Could not create a symlink. Either run this step in an elevated "Administrator" command prompt, or go to "Settings > Update & Security > For developers" and turn on "Developer Mode".
An unexpected error occurred. FileSystemException: Cannot create link, path = 'D:\<Folder>\flutter_projects\arcgismaps\arcgis_maps_core' (OS Error: A required privilege is not held by the client.
, errno = 1314)
The arcgis_maps install script creates a symlink to the arcgis_maps binaries. A non-administrator user does not have the permission to create symlinks. You either need to run the installer as an administrator or turn on Developer mode as described in the error message.
I installed using admin account and closed all my VScode sessions and opened. it shows same error
":buildCMakeDebug[arm64-v8a]'"
Is the Admin account a different login than the user level account, or are you trying to run with admin privileges in the user account?
We have two accounts: one is an admin account, and the other is a normal user account. I am developing an app using the normal account, and whenever administrative permissions are required (such as for installations), the system should automatically prompt for admin credentials. Do we need to use admin account for development ?
The provided installation scripts create symlinks to the binaries in the package folder downloaded from pub.dev. This is a required step making installation and updates more automated for both macOS and Windows development environments. For Windows, configuring symlinks requires an administrative account or a user-level account in Developer Mode.
If you are using two different accounts and having problems with the symlinks, which the above errors seem to indicate, it may be that the package is being saved somewhere in the administrative account that is inaccessible to the user account. If you are unable to use an administrative account or a user-level account in Developer Mode, then you could manually copy the ArcGIS binaries from the package folder. Note that the files would need to be re-copied whenever the ArcGIS Maps pub.dev package is updated.
To copy the files: