react-native-http-server icon indicating copy to clipboard operation
react-native-http-server copied to clipboard

why server didnt work ?

Open merby04 opened this issue 7 years ago • 1 comments

I just try to start the server services but didnt work ? how make it work ? i have try your simply sample

merby04 avatar May 15 '17 03:05 merby04

Hey @x5c @Strainy , I am facing the same problem, as my server didn't start or even the build fails on android device. What should I do?
I am getting these errors:

> Task :app:compileDebugJavaWithJavac FAILED
F:\py c\reactnativelearn\cliProject\android\app\src\main\java\com\cliproject\MainApplication.java:7: error: cannot find symbol
import com.strainy.RNHttpServer.RNHttpServer;
                               ^
  symbol:   class RNHttpServer
  location: package com.strainy.RNHttpServer
F:\py c\reactnativelearn\cliProject\android\app\src\main\java\com\cliproject\MainApplication.java:35: error: cannot find symbol
          new RNHttpServer(),
              ^
  symbol: class RNHttpServer
2 errors

saberprashant avatar Sep 29 '18 07:09 saberprashant