After running react-native run-android
:
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 'pusher'. Could not resolve all dependencies for configuration ':classpath'. Could not download protobuf-java.jar (com.google.protobuf:protobuf-java:2.5.0) Could not get resource 'https://jcenter.bintray.com/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar'. Could not GET 'https://jcenter.bintray.com/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.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
I have installed SDK tools,have followed react native documentation properly,but still have hit a snag.
I am using Ubuntu 16.