You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting this error Error: no suitable constructor found for Event(int) while running the application this morning, it was running fine 2 days ago.
Complete stack trace. I am using android and latest react-native version 0.63
react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 1316 file(s) to forward-jetify. Using 8 workers...
info Starting JS server...
info Installing the app...
> Configure project :app
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
> Configure project :react-native-firebase_app
:react-native-firebase_app package.json found at D:\Projects\ui-team-demos\clearview-mobile\node_modules\@react-native-firebase\app\package.json
:react-native-firebase_app:firebase.bom using default value: 25.3.1
:react-native-firebase_app package.json found at D:\Projects\ui-team-demos\clearview-mobile\node_modules\@react-native-firebase\app\package.json
:react-native-firebase_app:version set from package.json: 8.0.0 (8,0,0 - 8000000)
:react-native-firebase_app:android.compileSdk using custom value: 29
:react-native-firebase_app:android.targetSdk using custom value: 29
:react-native-firebase_app:android.minSdk using custom value: 16
:react-native-firebase_app:reactNativeAndroidDir D:\Projects\ui-team-demos\clearview-mobile\node_modules\react-native\android
> Configure project :react-native-firebase_messaging
:react-native-firebase_messaging package.json found at D:\Projects\ui-team-demos\clearview-mobile\node_modules\@react-native-firebase\messaging\package.json
:react-native-firebase_app package.json found at D:\Projects\ui-team-demos\clearview-mobile\node_modules\@react-native-firebase\app\package.json
:react-native-firebase_messaging:firebase.bom using default value: 25.3.1
:react-native-firebase_messaging package.json found at D:\Projects\ui-team-demos\clearview-mobile\node_modules\@react-native-firebase\messaging\package.json
:react-native-firebase_messaging:version set from package.json: 7.2.1 (7,2,1 - 7002001)
:react-native-firebase_messaging:android.compileSdk using custom value: 29
:react-native-firebase_messaging:android.targetSdk using custom value: 29
:react-native-firebase_messaging:android.minSdk using custom value: 16
:react-native-firebase_messaging:reactNativeAndroidDir D:\Projects\ui-team-demos\clearview-mobile\node_modules\react-native\android
> Task :react-native-community_checkbox: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.2/userguide/command_line_interface.html#sec:command_line_warnings
39 actionable tasks: 19 executed, 20 up-to-date
D:\Projects\ui-team-demos\clearview-mobile\node_modules\@react-native-community\checkbox\android\src\main\java\com\reactnativecommunity\checkbox\ReactCheckBoxEvent.java:22: error: no suitable constructor found for Event(int)
super(viewId);
^
constructor Event.Event() is not applicable
(actual and formal argument lists differ in length)
constructor Event.Event(int,long) is not applicable
(actual and formal argument lists differ in length)
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-community_checkbox: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
BUILD FAILED in 23s
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
D:\Projects\ui-team-demos\clearview-mobile\node_modules\@react-native-community\checkbox\android\src\main\java\com\reactnativecommunity\checkbox\ReactCheckBoxEvent.java:22: error: no suitable constructor found for Event(int)
The text was updated successfully, but these errors were encountered:
I am getting this error
Error: no suitable constructor found for Event(int)
while running the application this morning, it was running fine 2 days ago.Complete stack trace. I am using android and latest react-native version 0.63
The text was updated successfully, but these errors were encountered: