PeelTechnologies / react-native-tcp

node's net api in react-native
MIT License
284 stars 212 forks source link

Error: package com.peel.react does not exist #80

Closed rinleit closed 6 years ago

rinleit commented 6 years ago

F:\dev\NearChat\android\app\src\main\java\com\reactnativesocketioexample\MainApplication.java:7: error: package com.peel.react does not exist import com.peel.react.TcpSocketsModule; ^ F:\dev\NearChat\android\app\src\main\java\com\reactnativesocketioexample\MainApplication.java:29: error: cannot find symbol new TcpSocketsModule() ^ symbol: class TcpSocketsModule 2 errors

I got some issue while building project with react-native-tcp. How to fix it? thanks

rhyswilliams0 commented 5 years ago

For future weary googlers:

Add compile project(':react-native-tcp') to app/build.gradle.