This is caused by the path length restriction.
I think it’s 256 characters maximum.
Relocate your project and the build will succeed.
More Related Contents:
- Version conflict updating to play-services 9.4.0 Android studio 2.2
- Android Studio gradle takes too long to build
- Using Build Flavors – Structuring source folders and build.gradle correctly
- No matching client found for package name (Google Analytics) – multiple productFlavors & buildTypes
- Android Studio: Gradle – build fails — Execution failed for task ‘:dexDebug’
- Android Studio Gradle Configuration with name ‘default’ not found
- gradle – library duplicates in dependencies
- A failure occurred while executing com.android.build.gradle.internal.tasks
- Adding local .aar files to my gradle build
- Sign APK without putting keystore info in build.gradle
- how can I add the aidl file to Android studio (from the in-app billing example)
- Gradle Sync failed could not find constraint-layout:1.0.0-alpha2
- Unable to import Eclipse project to Android Studio
- Resources$NotFoundException: File res/drawable/abc_ic_ab_back_material.xml
- Could not find com.android.tools.build:gradle:4.0.1 ( or any version )
- Android Studio Run/Debug configuration error: Module not specified
- add ‘tools:replace=”Android:value”‘ to element at AndroidManifest
- Add GitHub library as dependency to Android Studio project
- Stuck with Gradle Build Running
- How to apply plugin to only one flavor in gradle?
- Android XML: RuntimeException: Failed to resolve attribute at index 6
- Error “Gradle sync failed: Connection refused: connect”
- Android Studio: Android Manifest doesn’t exists or has incorrect root tag
- How to downgrade to older version of Gradle
- Add ViewPagerIndicator to Android Studio
- How to replace a string for a buildvariant with gradle in android studio?
- Gradle failed to sync with ‘unable to find optional library’
- While Android Studio Updated to v3.3 getting API ‘variant.getAssemble()’ is obsolete and has been replaced with ‘variant.getAssembleProvider()’
- Manually adding aar with dependency pom/iml file
- Execution failed for task ‘:app:compileDebugJavaWithJavac’ Android Studio 3.1 Update