Created
July 4, 2018 09:40
-
-
Save danieldogeanu/ce4a479ee1be8fb7ded61bdc987f535a to your computer and use it in GitHub Desktop.
How to fix Gradle "file path too long" error on Windows 10.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// In the build.gradle file, at the project root, add the `buildDir` with the path to a directory on the root of the drive you are using. For example `D:/Builds/`. | |
allprojects { | |
buildDir = "D:/Builds/${rootProject.name}/${project.name}" // Fix for PATH TOO LONG error. | |
repositories { | |
jcenter() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment