Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erro ao executar aplicativo no Android react-native run-android #8

Open
danilosampaio opened this issue Nov 1, 2019 · 3 comments
Open

Comments

@danilosampaio
Copy link

Seguindo o passa-a-passo de instalação, e execução do aplicativo no Android, ocorre o seguinte erro:

package com.swmansion.gesturehandler.react does not exist ...

Para resolver o problema, adicionei a seguinte instrução no arquivo android/app/build.gradle, no bloco de dependências:

implementation project(':react-native-gesture-handler')

Também adicionei a seguinte dependência no projeto:

yarn add react-native-gesture-handler

Esses dois passos deveriam estar no README na secção passo adicional no android

@akinncar
Copy link

akinncar commented Feb 1, 2020

Fiz a inicialização e segui os passos adicionais da documentação atual, porém aqui funcionou normlmente, você consegue dar mais detalhes do problema, Danilo?

react-native info:

System:
    OS: macOS Mojave 10.14.3
    CPU: (4) x64 Intel(R) Core(TM) i5-5350U CPU @ 1.80GHz
    Memory: 398.50 MB / 8.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 10.15.0 - /usr/local/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.4.1 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
    Android SDK:
      API Levels: 27, 28
      Build Tools: 27.0.3, 28.0.3
  IDEs:
    Xcode: 10.3/10G8 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0 
    react-native: 0.61.5 => 0.61.5

@om-mahato
Copy link

Hi do checkout this repo if interested
https://github.com/om-mahato/Login-Signup-React-Native-Template.git

@samuk190
Copy link

Instale o react native como dependencia global e certifique de dar yarn no projeto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants