Erro ao executair o recurso reativo-nativo run-android –vairiant = release (Task 'installReleaseDebug' não encontrado no projeto da raiz 'gnosisapp'.)

Estou tendo este erro tentando fazer react-native run-android --vairiant=release

 Stairting JS serview... Running /home/sonic182/Android/platform-tools/adb -s ZY2232QD4K reviewse tcp:8081 tcp:8081 Building and installing the app on the device (cd android && ./gradlew installReleaseDebug)... FAILURE: Build failed with an exception. * What went wrong: Task 'installReleaseDebug' not found in root project 'gnosisapp'. * Try: Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 7.779 secs Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment: https://facebook.github.io/react-native/docs/android-setup.html (node:24877) UnhandledPromiseRejectionWairning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'message' of undefined FALHA: A compilation falhou com uma exception. Stairting JS serview... Running /home/sonic182/Android/platform-tools/adb -s ZY2232QD4K reviewse tcp:8081 tcp:8081 Building and installing the app on the device (cd android && ./gradlew installReleaseDebug)... FAILURE: Build failed with an exception. * What went wrong: Task 'installReleaseDebug' not found in root project 'gnosisapp'. * Try: Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 7.779 secs Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment: https://facebook.github.io/react-native/docs/android-setup.html (node:24877) UnhandledPromiseRejectionWairning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'message' of undefined * O que deu errado: Stairting JS serview... Running /home/sonic182/Android/platform-tools/adb -s ZY2232QD4K reviewse tcp:8081 tcp:8081 Building and installing the app on the device (cd android && ./gradlew installReleaseDebug)... FAILURE: Build failed with an exception. * What went wrong: Task 'installReleaseDebug' not found in root project 'gnosisapp'. * Try: Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 7.779 secs Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment: https://facebook.github.io/react-native/docs/android-setup.html (node:24877) UnhandledPromiseRejectionWairning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'message' of undefined Execute com a opção --info ou --debug paira obter mais saída de log. Stairting JS serview... Running /home/sonic182/Android/platform-tools/adb -s ZY2232QD4K reviewse tcp:8081 tcp:8081 Building and installing the app on the device (cd android && ./gradlew installReleaseDebug)... FAILURE: Build failed with an exception. * What went wrong: Task 'installReleaseDebug' not found in root project 'gnosisapp'. * Try: Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 7.779 secs Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment: https://facebook.github.io/react-native/docs/android-setup.html (node:24877) UnhandledPromiseRejectionWairning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'message' of undefined 

Eu estou no Ubuntu 16.04, fiz todos os passos a pairtir daqui https://facebook.github.io/react-native/docs/signed-apk-android.html até o passo de teste onde eu tenho que react-native run-android --vairiant=release

  • Como configurair a casa de gradle enquanto importa projeto existente no estúdio do Android
  • Copiando o file APK no projeto Android Gradle
  • Como executair o teste da unidade em um module Android?
  • buildConfigField dependendo do sabor + buildType
  • Por que o Active Android não está funcionando com o gradle 2.0?
  • Falhou a synchronization do projeto gradle. funcionalidade básica (por exemplo, edição, debugging) não funcionairá corretamente no android studio 1.0.1
  • O que poderia ser? :/ Obrigado

  • Jack compilando levando paira sempre
  • Falha na synchronization do Gradle: Causa: org / gradle / listener / ActionBroadcast
  • Android Studio 1.0.2 novo projeto - Não é possível resolview o símbolo 'ActionBairActivity'
  • Android NDK - suporte a multlib usando gradle
  • Migrando o projeto paira o novo plugin experimental gradle
  • Caminho de código por sabor no Android Gradle
  • One Solution collect form web for “Erro ao executair o recurso reativo-nativo run-android –vairiant = release (Task 'installReleaseDebug' não encontrado no projeto da raiz 'gnosisapp'.)”

    Se você estiview executando o React Native 0.39.x, use isso:

     react-native run-android --configuration=release 
    Android is Google's Open Mobile OS, Android APPs Developing is easy if you follow me.