React native expo detach, error running in Android Studio

0

Well I did the detach and I created the Android folder, when I do the build it sends me an error:

El sistema no puede encontrar la ruta especificada.

:app:exponentPrebuildStep FAILED
:app:exponentPrebuildStep (Thread[Task worker for ':',5,main]) completed. 
Took 
0.042 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:exponentPrebuildStep'.
> Process 'command 'cmd'' finished with non-zero exit value 1

This is exponentPrebuildStep

task exponentPrebuildStep(type: Exec) {
    workingDir expoRoot
    if (Os.isFamily(Os.FAMILY_WINDOWS)) {
        commandLine "cmd", "/c", ".\android\detach-scripts\run-exp.bat"
    } else {
        commandLine "./android/detach-scripts/run-exp.sh", "prepare-detached-build", "--platform", "android", expoRoot
    }
}

the error is that it does not find the path. \ android \ detach-scripts \ run-exp.bat, but I do not have any folder called detach-scripts and I did all the steps that the documentation told me.

    
asked by RereRoro1 16.11.2018 в 19:54
source

0 answers