Failure to launch app due to error: cannot find symbol packages.add(WebRTCModulePackage());

Greetings,
I followed the installations instructions, then I tried to run the app to see if everything is working. The app fails to launch with this error log:

Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
/Users/lucianoglisboa/psicochat/prototipo_video/android/app/src/main/java/com/prototipo_video/MainApplication.java:31: error: cannot find symbol
packages.add(WebRTCModulePackage());
^
symbol: method WebRTCModulePackage()
1 error

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:compileDebugJavaWithJavac’.

Compilation failed; see the compiler error output for details.

The app is in Bitbucket

Any help would be appreciated.

Downgrade to RN 0.59, 0.60 is not yet supported.

1 Like

By downgrading to 0.59 I had success in compiling. Thanks.