Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 30008

Erro ao rodar react-native run-android [closed]

$
0
0

quando rodo react-native run-android ele dar o erro dizendo que o adbExe nao é um arquivo.

> File '/home/meusuario/Android/Sdk/platform-tools/adb' specified for property 'adbExe' is not a file.

e tenho esse caminho, tenho esse arquivo adbExe.exe tenho o adbExe ou seja todos arquivos la dentro da pasta e o erro continua.

o erro todo abaixo estou usando o linux/ubuntu:

> Task :app:installDebug FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/5.5/userguide/command_line_interface.html#sec:command_line_warnings 27 actionable tasks: 2 executed, 25 up-to-date

FAILURE: Build failed with an exception.

  • What went wrong: A problem was found with the configuration of task ':app:installDebug'.

    File '/home/jean/Android/Sdk/platform-tools/adb' specified for property 'adbExe' is not a file.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 5s

error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details. Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

  • What went wrong: A problem was found with the configuration of task ':app:installDebug'.

    File '/home/jean/Android/Sdk/platform-tools/adb' specified for property 'adbExe' is not a file.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 5s

at checkExecSyncError (child_process.js:629:11)
at execFileSync (child_process.js:647:13)
at runOnAllDevices (/home/jean/AppGobarberr/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:94:39)
at buildAndRun (/home/jean/AppGobarberr/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:179:41)
at then.result (/home/jean/AppGobarberr/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:133:12)
at process._tickCallback (internal/process/next_tick.js:68:7)

Viewing all articles
Browse latest Browse all 30008

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>