I tried to upgrade compileSdkVersion
And targetSdkVersion
From 25
to 27
And Could not delete path
Error Happened :
Error:Execution failed for task ':app:mergeFlavorPublicDebugResources'. java.io.IOException: Could not delete path '/home/username/Android/projects/Pouya/app/build/intermediates/res/merged/flavorPublic/debug/values-ja/values-ja.xml'.
Every time i clear cache it happened for different directories / files
compileSdkVersion 25
buildToolsVersion "26.0.2"
defaultConfig {
vectorDrawables.useSupportLibrary = true
}
dependencies {
...
compile 'com.android.support:appcompat-v7:25.3.1'
...
}
At Project build.gradle :
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
}
it not works even after Downgrade!
Some ways not Solved problem :
rm -rf .gradle/caches/
And ./gradlew cleanBuildCache
biuld
directory manually.gradle
directory manuallyHave you try to delete this folder : /home/username/Android/projects/Pouya/app/build
?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With