diff --git a/source/AndroidResolver/src/PlayServicesResolver.cs b/source/AndroidResolver/src/PlayServicesResolver.cs index f0a772c4..f1b2080f 100644 --- a/source/AndroidResolver/src/PlayServicesResolver.cs +++ b/source/AndroidResolver/src/PlayServicesResolver.cs @@ -2143,8 +2143,14 @@ internal static IList GradleMavenReposLines(ICollection depe // If "Export Gradle Project" setting is enabled, gradle project expects // absolute path. if (exportEnabled) { - repoUri = String.Format("\"{0}\"", - Path.Combine(projectFileUri, repoPath)); + if((SystemInfo.operatingSystem).Contains("Windows")){ + repoUri = String.Format("\"{0}\"", + Path.Combine(projectFileUri, repoPath).Replace("\\", "/")); + } else { + repoUri = String.Format("\"{0}\"", + Path.Combine(projectFileUri, repoPath)); + } + } else { repoUri = String.Format("(unityProjectPath + \"/{0}\")", repoPath); }