React-native-vector-icons: Android Debug Failure: react-native-vector-icons\android\build\intermediates\compiled_local_resources\debug\out' is not a readable directory.

Created on 2 Mar 2020  路  11Comments  路  Source: oblador/react-native-vector-icons

Hi Everyone,

I'm getting this error all the time:

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade

Path 'g:\ReactNative\OrderList\Proj\OrderList\node_modulesreact-native-vector-icons\android\build\intermediates\compiled_local_resources\debug\out' is not a readable directory.

I can't do debug or release. 2 days ago, it worked fine.

Please help me.

Most helpful comment

rm -rf android/.gradle
rm -rf .gradle
rm -rf ~/.gradle
./gradlew clean

The above fixed me up

All 11 comments

@bd901029 I m facing the same issue
Did you solve it plz share the solution here?

Not yet. Just remove the local repository and cloned again. And then it starts working... So weird. All other dependencies work fine, but this one only.

same issue on my end - still no solution found?

You can remove the local repository on your hard disk and re-clone it. On my end, it solves the issue. I'm not sure but assume it's an android studio issue like app/build not deleted.

@marcelpl clean up your android project using cd android && ./gradlew clean
your sdk version and vector icon's sdk version should be the same.

./gradlew clean then manually restarting gradle daemon solved my issue

rm -rf android/.gradle
rm -rf .gradle
rm -rf ~/.gradle
./gradlew clean

The above fixed me up

Great. It works really fine. Thank you so much.

rm -rf android/.gradle
rm -rf .gradle
rm -rf ~/.gradle
./gradlew clean

O acima me consertou

for me it worked, after that I gave a run-android

rm -rf android/.gradle
rm -rf .gradle
rm -rf ~/.gradle
./gradlew clean

The above fixed me up

Thanks.. it worked for me..

rm -rf android/.gradle
rm -rf .gradle
rm -rf ~/.gradle
./gradlew clean

This usually solve my problem to but I get this error when I run my app after I generated apk. Is this the correct way to do it?

Was this page helpful?
0 / 5 - 0 ratings