In android studio, I will get this error. Error:Execution failed for task ':app:processDebugResources'. com.android.ide.common.process.ProcessException: Failed to execute apt please any one help me. How to resolve it.
view console
In android studio, I will get this error. Error:Execution failed for task ':app:processDebugResources'. com.android.ide.common.process.ProcessException: Failed to execute apt please any one help me. How to resolve it.
view console
I also had same issue. I updated my windows from 7 to 10, then I start Android Studio and i got same error. I solved it by changing in build.gradle to
compile('com.facebook.android:facebook-android-sdk:4.22.1')
If you are using react native then you can upgrade it to
project(':react-native-fbsdk') {
configurations.all {
resolutionStrategy {
force 'com.facebook.android:facebook-android-sdk:4.22.1'
}
}
}
configurations.all {
resolutionStrategy {
force 'com.facebook.android:facebook-android-sdk:4.22.1'
}
}
I just tested this in my android studio and I got the same error which you are getting. I found the solution.
Change the name of "values.xml" file with some other name. You are getting the error because you put the values.xml file inside the values folder so it conflicting your file. You need to rename the values.xml and it works like a charm.
I found my solution it is a my mistake, I forgot to remove one style from style.xml, So it will give this error .
In my case when i was upgrade gradle to 4.1 then it was happened.my sugesstion is that don't upgrade gradle to 4.1 in android studio 3.0 because it is possible to mismatch sdk tools.