title: Cannot take android build due to react native netinfo "error: cannot find symbol"
body: <blockquote>
  <p>Task :app:compileReleaseJavaWithJavac FAILED
  /home/tlspc-167/React-Native/keywe/android/app/src/main/java/com/Project/MainApplication.java:7: error: cannot find symbol
  import com.reactnativecommunity.netinfo.NetInfoPackage;
  ^
  symbol:   class NetInfoPackage
  location: package com.reactnativecommunity.netinfo
  /home/tlspc-167/React-Native/keywe/android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:29: error: cannot find symbol
  import com.reactnativecommunity.netinfo.NetInfoPackage;
  ^
  symbol:   class NetInfoPackage
  location: package com.reactnativecommunity.netinfo
  /home/tlspc-167/React-Native/keywe/android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:154: error: cannot find symbol
  new NetInfoPackage(),
  ^
  symbol:   class NetInfoPackage
  location: class PackageList
  Note: /home/tlspc-167/React-Native/keywe/android/app/src/main/java/com/Project/MainApplication.java uses or overrides a deprecated API.
  Note: Recompile with -Xlint:deprecation for details.
  3 errors
  w: Detected multiple Kotlin daemon sessions at build/kotlin/sessions</p>
  </blockquote>