voxeet / voxeet-uxkit-reactnative

https://www.npmjs.com/package/@voxeet/react-native-voxeet-conferencekit
MIT License
11 stars 12 forks source link

Error importing com.reactlibrary.RNReactNativeVoxeetConferencekitPackage #19

Closed techiespace closed 3 years ago

techiespace commented 3 years ago

Describe the bug

I followed the setup instructions for uikit configuration for react native. After doing react-native run-android I get an error while trying to import com.reactlibrary.RNReactNativeVoxeetConferencekitPackage

Steps to Reproduce the Problem

Followed the exacts steps for installation here.

Minimalistic code (recommended)

WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed soon. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

> Task :app:compileDebugJavaWithJavac FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings
610 actionable tasks: 7 executed, 603 up-to-date
/home/shreyas/workspace/codecommit/Native/New/live-consumer-mobile/android/app/src/main/java/live/streamstyle/MainActivity.java:16: error: package com.reactlibrary does not exist
import com.reactlibrary.RNReactNativeVoxeetConferencekitPackage;
                       ^
/home/shreyas/workspace/codecommit/Native/New/live-consumer-mobile/android/app/src/main/java/live/streamstyle/MainActivity.java:20: error: cannot find symbol
    private RNVoxeetActivityObject mActivityObject;
            ^
  symbol:   class RNVoxeetActivityObject
  location: class MainActivity
/home/shreyas/workspace/codecommit/Native/New/live-consumer-mobile/android/app/src/main/java/live/streamstyle/MainApplication.java:31: error: package com.reactlibrary does not exist
import com.reactlibrary.RNReactNativeVoxeetConferencekitPackage;
                       ^
/home/shreyas/workspace/codecommit/Native/New/live-consumer-mobile/android/app/src/main/java/live/streamstyle/MainApplication.java:34: error: cannot find symbol
  private RNReactNativeVoxeetConferencekitPackage voxeet;
          ^
  symbol:   class RNReactNativeVoxeetConferencekitPackage
  location: class MainApplication
/home/shreyas/workspace/codecommit/Native/New/live-consumer-mobile/android/app/src/main/java/live/streamstyle/MainActivity.java:25: error: cannot find symbol
        mActivityObject = new RNVoxeetActivityObject();
                              ^
  symbol:   class RNVoxeetActivityObject
  location: class MainActivity
/home/shreyas/workspace/codecommit/Native/New/live-consumer-mobile/android/app/src/main/java/live/streamstyle/MainApplication.java:87: error: cannot find symbol
    voxeet = new RNReactNativeVoxeetConferencekitPackage(MainApplication.this);
                 ^
  symbol:   class RNReactNativeVoxeetConferencekitPackage
  location: class MainApplication
Note: /home/shreyas/workspace/codecommit/Native/New/live-consumer-mobile/android/app/src/debug/java/com/localliveconsumermobile/ReactNativeFlipper.java uses or overrides a deprecated API

Specifications

codlab commented 3 years ago

Closing this ticket as everything has ben pushed and is available right now 👍