Solucionado (ver solução)
Solucionado
(ver solução)
2
respostas

Problemas com ambiente Ubuntu

Estou tendo um problema logo no inicio ao rodar o 'react-native run-android'

tiago@tiago:~/AndroidStudioProjects/InstaluraMobile$ react-native run-android
Scanning folders for symlinks in /home/tiago/AndroidStudioProjects/InstaluraMobile/node_modules (17ms)
JS server already running.
Building and installing the app on the device (cd android && ./gradlew installDebug)...

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'InstaluraMobile'.
> Could not resolve all dependencies for configuration ':classpath'.
   > Could not download gradle-core.jar (com.android.tools.build:gradle-core:2.2.3)
      > Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle-core/2.2.3/gradle-core-2.2.3.jar'.
         > Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle-core/2.2.3/gradle-core-2.2.3.jar'.
            > sun.security.validator.ValidatorException: No trusted certificate found

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 10.234 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

Imagino que seja erro de SSL do java ? alguem pode me ajudar ??

2 respostas
solução!

resolvido desinstalando o java e instalando novamente!

Boa Tiago!

Obrigado pro compartilhar sua solução com a gente.

Qualquer problema é só falar.

Abraço!