DipanshKhandelwal / react-native-webrtc-firebase

Minimal react native web-etc example with Firebase
45 stars 20 forks source link

Error installing the app #5

Closed astroana closed 3 years ago

astroana commented 3 years ago

I would like to try your project but I can't go through yarn android, I did all instructions successfully then after that I tried to start the emulator but there's error installing the app. What could be the solution for this?

> Task :app:processDebugGoogleServices FAILED
Parsing json file: E:\Download 2nd\00 Developer Sites\sample-templates\react-native-web> root project > Resolve files of :classpath > gradle-api-3.6.2.jar
rtc-firebase-master\android\app\google-services.json
41 actionable tasks: 41 executed
Note: E:\Download 2nd\00 Developer Sites\sample-templates\react-native-webrtc-firebase-
master\node_modules\@react-native-firebase\app\android\src\reactnative\java\io\invertas
e\firebase\app\ReactNativeFirebaseAppInitProvider.java uses or overrides a deprecated A
PI.
Note: Recompile with -Xlint:deprecation for details.
Note: E:\Download 2nd\00 Developer Sites\sample-templates\react-native-webrtc-firebase-
master\node_modules\react-native-webrtc\android\src\main\java\com\oney\WebRTCModule\Pee
rConnectionObserver.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: E:\Download 2nd\00 Developer Sites\sample-templates\react-native-webrtc-firebase-
master\node_modules\react-native-webrtc\android\src\main\java\com\oney\WebRTCModule\Pee
rConnectionObserver.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugGoogleServices'.
> No matching client found for package name 'com.webrtc_firebase'

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option 
to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 4m 38s

error Failed to install the app. Make sure you have the Android development environment
 set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag fo
r more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081    
Note: E:\Download 2nd\00 Developer Sites\sample-templates\react-native-webrtc-firebase-
master\node_modules\@react-native-firebase\app\android\src\reactnative\java\io\invertas
e\firebase\app\ReactNativeFirebaseAppInitProvider.java uses or overrides a deprecated A
PI.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. 
astroana commented 3 years ago

got it working now: