netbeast / react-native-ssdp

SSDP client + server to use in your react-native apps
https://netbeast.co
41 stars 19 forks source link

Build failed #21

Closed shubham-srivastava-goku closed 6 years ago

shubham-srivastava-goku commented 6 years ago

I am getting below error while building the application.

FAILURE: Build failed with an exception.

BUILD FAILED

I've followed every steps as written on the description. Please help me to resolve it.

Thnaks in advance

jsdario commented 6 years ago

You may need to install this package: https://github.com/pusherman/react-native-network-info

shubham-srivastava-goku commented 6 years ago

I already installed that. Here is my package.json dependencies. "dependencies": { "react": "16.3.1", "react-native": "0.55.4", "react-native-elements": "^0.19.1", "react-native-network-info": "^3.2.2", "react-native-ssdp": "^2.8.2", "react-native-udp": "^2.3.1", "react-native-vector-icons": "^4.6.0", "react-navigation": "^2.0.1" }

jsdario commented 6 years ago

Did you use react-native link react-native-network-info?

shubham-srivastava-goku commented 6 years ago

I have done all these three after installing them

react-native link react-native-network-info react-native link react-native-udp react-native link react-native-ssdp

shubham-srivastava-goku commented 6 years ago

The issue was with gradle version. After updating gradle version to 3.1.0, it started working.

jsdario commented 6 years ago

Thanks for opening an issue!