react-native-webrtc / react-native-incall-manager

Handling media-routes/sensors/events during a audio/video chat on React Native
ISC License
547 stars 191 forks source link

Could not find method compile() #211

Open parazitenew opened 1 year ago

parazitenew commented 1 year ago

I think that the documentation is outdated. There is a difference between what is shown in the documentation MainApplication.java and what I have in my project with RN 0.70.6.

So it could be the same thing with this line:

compile(project(':react-native-incall-manager'))

After a search, I read that the "compile" was deprecated.

Edit: After changed compile by implementation, I had a build error

Execution failed for task ':app:compileDebugJavaWithJavac'.

KolissnikBogdan commented 1 year ago

@parazitenew try to replace compile with implementation

parazitenew commented 1 year ago

@parazitenew try to replace compile with implementation

Already tried. It's at the end of my message

gavrilikhin-d commented 1 year ago

If changing to implementation(':react-native-incall-manager')

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
   > Could not find :react-native-incall-manager:.
     Required by:
         project :app