16
down vote
accepted
This problem usually comes from gradle dependency in new components, i can see you have installed react-native-maps

you can solve it by cleaning the project.

In your React Native project:

cd android/ && ./gradlew clean

go back and try run it again.

cd .. && react-native run-android

Execution failed for task ':react-native-maps:mergeReleaseResources'. - Error: File path too long on Windows, keep below 240 characters

In the root build.gradle file:

allprojects {
    buildDir = "C:/tmp/${rootProject.name}/${project.name}"
    repositories {
       ...
    }
}

출처

- https://stackoverflow.com/questions/39127137/react-native-run-android-failed-with-error-execution-failed-for-task-appdexd