react-native-callkeep icon indicating copy to clipboard operation
react-native-callkeep copied to clipboard

example project not working

Open erennyuksell opened this issue 2 years ago • 2 comments

Bug report

  • [x] I've checked the example to reproduce the issue.

Description

I downloaded the example and installed the npm packages. Then I ran npm run android command and it gave the following error

Logs

> Task :expo-constants:compileDebugJavaWithJavac FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.1/userguide/command_line_interface.html#sec:command_line_warnings
94 actionable tasks: 94 executed
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: C:\Users\Eren\Desktop\react-native-callkeep-master\example\node_modules\expo-app-loader-provider\android\src\main\java\expo\loaders\provider\AppLoaderProvider.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
C:\Users\Eren\Desktop\react-native-callkeep-master\example\node_modules\expo-constants\android\src\main\java\expo\modules\constants\ConstantsService.java:6: error: cannot find symbol
import androidx.annotation.Nullable;
                          ^
  symbol:   class Nullable
  location: package androidx.annotation
C:\Users\Eren\Desktop\react-native-callkeep-master\example\node_modules\expo-constants\android\src\main\java\expo\modules\constants\ConstantsService.java:51: error: cannot find symbol
  @Nullable
   ^
  symbol:   class Nullable
  location: class ConstantsService
2 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':expo-constants:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* 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

BU�LD FAILED in 4m 14s

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 for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
Note: Some input files use unchecked or unsafe operations.```

erennyuksell avatar Jun 28 '22 21:06 erennyuksell

Same problem. Example project for iOS also not working. It seems like the podfile is implemented incorrectly. Not found any working solution yet.

daniel-keen avatar Aug 16 '22 16:08 daniel-keen

In the end I decided to implement my own call kit extension and connected it to my app using bridging header. perhaps someone might find it helpful.

daniel-keen avatar Aug 22 '22 06:08 daniel-keen

Same here. Can't run example on IOS

shkhaider2015 avatar Nov 02 '22 09:11 shkhaider2015

Can't run example on Android

GittyAjay avatar Nov 16 '22 06:11 GittyAjay

+1

Mihai-github avatar Dec 21 '22 10:12 Mihai-github