diff --git a/core_settings.gradle b/core_settings.gradle index 6ed89e40cb..4e85f2fe27 100644 --- a/core_settings.gradle +++ b/core_settings.gradle @@ -13,7 +13,7 @@ // limitations under the License. def rootDir = gradle.ext.exoplayerRoot if (!gradle.ext.has('exoplayerSettingsDir')) { - gradle.ext.exoplayerSettingsDir = new File(rootDir).getCanonicalPath() + gradle.ext.exoplayerSettingsDir = new File(rootDir.toString()).getCanonicalPath() } def modulePrefix = ':' if (gradle.ext.has('exoplayerModulePrefix')) {