gameDNAstudio / gameDNAinstaller

Automatic SDK downloader and installer for gameDNA's plugins
https://www.gamednastudio.com
Other
34 stars 7 forks source link

Error installing Universal Mobile Ads SDK #3

Closed luis-moral closed 7 years ago

luis-moral commented 7 years ago
Unpacking archive: AdColonySDK.zip

 --> 1%...
 --> 2%...
Excepci?n no controlada: System.IO.PathTooLongException: La ruta de acceso especificada o el nombre de archivo (o ambos) son demasiado largos. El nombre de archivo completo debe ser inferior a 260 caracteres y el nombre del directorio debe ser inferior a 248.
   en System.IO.PathHelper.GetFullPathName()
   en System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   en System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   en System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength)
   en System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   en SharpCompress.Readers.IReaderExtensions.WriteEntryToFile(IReader reader, String destinationFileName, ExtractionOptions options)
   en SharpCompress.Readers.IReaderExtensions.WriteEntryToDirectory(IReader reader, String destinationDirectory, ExtractionOptions options)
   en gameDNAinstaller.FilesManager.UnpackArchive(String ArchiveFileName, String BaseDirectory)
   en gameDNAinstaller.Installer.ProcessConfig(List`1 Libraries)
   en gameDNAinstaller.Installer.Main(String[] args)

That happens in a Windows 10 with spanish language... the error says that the path, the file name or both are too large. The full name of the file must be less than 260 characters and the name of the path must be less than 248.

gameDNA-Helix commented 7 years ago

Path to your project is too long. It's a limitation on Windows filesystem. Move your project higher in the hierarchy of filesystem for example D:/UnrealProjects/TestProject

luis-moral commented 7 years ago

I did that, installed the SDK and then moved the project back to its original path...

FYI so maybe you can do something about AdColonySDK unzip path or whatever

gameDNA-Helix commented 7 years ago

It's a problem with AdColony long path in zip itself.