I'm having this issue trying to run on Android. Does anyone know how can I solve it?
Thank u in advance:
`Task :react-native-add-calendar-event:compileDebugJavaWithJavac FAILED
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
/Users/fraschetti/Riseup/mobile/riseup-appli-calendar/app/node_modules/react-native-add-calendar-event/android/src/main/java/com/vonovak/Utils.java:8: error: cannot find symbol
import androidx.annotation.Nullable;
^
symbol: class Nullable
location: package androidx.annotation
/Users/fraschetti/Riseup/mobile/riseup-appli-calendar/app/node_modules/react-native-add-calendar-event/android/src/main/java/com/vonovak/AddCalendarEventModule.java:15: error: cannot find symbol
import androidx.annotation.Nullable;
^
symbol: class Nullable
location: package androidx.annotation
/Users/fraschetti/Riseup/mobile/riseup-appli-calendar/app/node_modules/react-native-add-calendar-event/android/src/main/java/com/vonovak/Utils.java:25: error: cannot find symbol
@Nullable
^
symbol: class Nullable
location: class Utils
/Users/fraschetti/Riseup/mobile/riseup-appli-calendar/app/node_modules/react-native-add-calendar-event/android/src/main/java/com/vonovak/AddCalendarEventModule.java:212: error: cannot find symbol
private void returnResultBackToJS(@Nullable Long eventPostId) {
^
symbol: class Nullable
location: class AddCalendarEventModule
Note: /Users/fraschetti/Riseup/mobile/riseup-appli-calendar/app/node_modules/react-native-add-calendar-event/android/src/main/java/com/vonovak/AddCalendarEventModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/fraschetti/Riseup/mobile/riseup-appli-calendar/app/node_modules/react-native-add-calendar-event/android/src/main/java/com/vonovak/AddCalendarEventModule.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
3 warnings
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':react-native-add-calendar-event: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.
BUILD FAILED in 15s
333 actionable tasks: 305 executed, 28 up-to-date
error Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
error Command failed: ./gradlew app:installDebug. Run CLI with --verbose flag for more details.`
Hello, everyone.
I'm having this issue trying to run on Android. Does anyone know how can I solve it?
Thank u in advance:
`Task :react-native-add-calendar-event:compileDebugJavaWithJavac FAILED warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. /Users/fraschetti/Riseup/mobile/riseup-appli-calendar/app/node_modules/react-native-add-calendar-event/android/src/main/java/com/vonovak/Utils.java:8: error: cannot find symbol import androidx.annotation.Nullable; ^ symbol: class Nullable location: package androidx.annotation /Users/fraschetti/Riseup/mobile/riseup-appli-calendar/app/node_modules/react-native-add-calendar-event/android/src/main/java/com/vonovak/AddCalendarEventModule.java:15: error: cannot find symbol import androidx.annotation.Nullable; ^ symbol: class Nullable location: package androidx.annotation /Users/fraschetti/Riseup/mobile/riseup-appli-calendar/app/node_modules/react-native-add-calendar-event/android/src/main/java/com/vonovak/Utils.java:25: error: cannot find symbol @Nullable ^ symbol: class Nullable location: class Utils /Users/fraschetti/Riseup/mobile/riseup-appli-calendar/app/node_modules/react-native-add-calendar-event/android/src/main/java/com/vonovak/AddCalendarEventModule.java:212: error: cannot find symbol private void returnResultBackToJS(@Nullable Long eventPostId) { ^ symbol: class Nullable location: class AddCalendarEventModule Note: /Users/fraschetti/Riseup/mobile/riseup-appli-calendar/app/node_modules/react-native-add-calendar-event/android/src/main/java/com/vonovak/AddCalendarEventModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /Users/fraschetti/Riseup/mobile/riseup-appli-calendar/app/node_modules/react-native-add-calendar-event/android/src/main/java/com/vonovak/AddCalendarEventModule.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 errors 3 warnings
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':react-native-add-calendar-event:compileDebugJavaWithJavac'.
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
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
BUILD FAILED in 15s 333 actionable tasks: 305 executed, 28 up-to-date error Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment: https://facebook.github.io/react-native/docs/getting-started.html error Command failed: ./gradlew app:installDebug. Run CLI with --verbose flag for more details.`