aboozaid / react-native-wifi-hotspot

A react-native implementation for handling hotspot requests and make it easier to communicate with peers!
ISC License
40 stars 21 forks source link

Error: app:compileDebugJavaWithJavac FAILED #42

Open TribusDev opened 1 year ago

TribusDev commented 1 year ago

Hi, I am trying to install the package with react-native:0.69.6 and classpath('com.android.tools.build:gradle:7.1.1') but when I try to compile it it gives me the following error:

Task :app:compileDebugJavaWithJavac FAILED
/Users/----/Desktop/App----/---/android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:33: error: package reactnative.hotspot does not exist
import reactnative.hotspot.HotspotPackage;
                          ^
/Users/----/Desktop/----/---/android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:90: error: cannot find symbol
      new HotspotPackage(),
          ^
  symbol:   class HotspotPackage
  location: class PackageList
Note: /Users/----/Desktop/-----/-----/android/app/src/debug/java/com/---/----/ReactNativeFlipper.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors

FAILURE: Build failed with an exception.

can you give me some help

Thanks

aboozaid commented 1 year ago

It's been a while since my latest commit here in this package and I'm working on a new update to fix all the issues.

ohtoyeyejke commented 1 year ago

@aboozaid any chance you are updating it soon? I have cracked my head to find a way around this issue.

aboozaid commented 1 year ago

Actually I did the module but I hope to get some time publishing it over here you know docs and these stuffs just take time and I'm almost done with it. I renamed the package to react-native-tethering to also include wifi functionalities besides hotspot

Sorry for being late but I just busy these days because I lost my job and searching for open positions nowadays. Anyway I can send you the module to test it locally and let me know if you find any issues via email to just help you quicker

ohtoyeyejke commented 1 year ago

I would appreciate that, I will send you an email shortly. I am sorry to hear about the situation you are in these days and I want to thank you for your time helping me!

aboozaid commented 1 year ago

Hey @ohtoyeyejke I have just published it here tethering feel free to test it and let me know.