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 have following issue when trying to run the Android App:
(path to app)/node_modules/react-native-sentry/android/src/main/java/io/sentry/RNSentryModule.java:8: error: cannot find symbol
import com.facebook.react.ReactApplication;
^
symbol: class ReactApplication
location: package com.facebook.react
(path to app)/node_modules/react-native-sentry/android/src/main/java/io/sentry/RNSentryModule.java:59: error: cannot find symbol
private final ReactApplication reactApplication;
^
symbol: class ReactApplication
location: class RNSentryModule
(path to app)/node_modules/react-native-sentry/android/src/main/java/io/sentry/RNSentryModule.java:68: error: cannot find symbol
public RNSentryModule(ReactApplicationContext reactContext, ReactApplication reactApplication) {
^
symbol: class ReactApplication
location: class RNSentryModule
(path to app)/react-native-sentry/android/src/main/java/io/sentry/RNSentryModule.java:76: error: cannot find symbol
public ReactApplication getReactApplication() {
^
symbol: class ReactApplication
location: class RNSentryModule
(path to app)/node_modules/react-native-sentry/android/src/main/java/io/sentry/RNSentryPackage.java:8: error: cannot find symbol
import com.facebook.react.ReactApplication;
^
symbol: class ReactApplication
location: package com.facebook.react
(path to app)/node_modules/react-native-sentry/android/src/main/java/io/sentry/RNSentryPackage.java:17: error: cannot find symbol
private final ReactApplication reactApplication;
^
symbol: class ReactApplication
location: class RNSentryPackage
(path to app)/node_modules/react-native-sentry/android/src/main/java/io/sentry/RNSentryPackage.java:19: error: cannot find symbol
public RNSentryPackage(ReactApplication reactApplication) {
^
symbol: class ReactApplication
location: class RNSentryPackage
(path to app)/node_modules/react-native-sentry/android/src/main/java/io/sentry/RNSentryPackage.java:23: error: cannot find symbol
public ReactApplication getReactApplication() {
^
symbol: class ReactApplication
location: class RNSentryPackage
(path to app)/node_modules/react-native-sentry/android/src/main/java/io/sentry/RNSentryModule.java:193: error: cannot find symbol
for (Map.Entry<String, Object> data : ((ReadableNativeMap)breadcrumb.getMap("data")).toHashMap().entrySet()) {
^
symbol: method toHashMap()
location: class ReadableNativeMap
(path to app)/node_modules/react-native-sentry/android/src/main/java/io/sentry/RNSentryModule.java:237: error: cannot find symbol
for (Map.Entry<String, Object> entry : castEvent.getMap("extra").toHashMap().entrySet()) {
^
symbol: method toHashMap()
location: class ReadableNativeMap
(path to app)/node_modules/react-native-sentry/android/src/main/java/io/sentry/RNSentryModule.java:243: error: cannot find symbol
for (Map.Entry<String, Object> entry : castEvent.getMap("tags").toHashMap().entrySet()) {
^
symbol: method toHashMap()
location: class ReadableNativeMap
(path to app)/node_modules/react-native-sentry/android/src/main/java/io/sentry/RNSentryModule.java:289: error: cannot find symbol
userBuilder.setData(((ReadableNativeMap)user.getMap("extra")).toHashMap());
^
symbol: method toHashMap()
location: class ReadableNativeMap
(path to app)/node_modules/react-native-sentry/android/src/main/java/io/sentry/RNSentryModule.java:302: error: cannot find symbol
for (Map.Entry<String, Object> entry : extra.toHashMap().entrySet()) {
^
symbol: method toHashMap()
location: variable extra of type WritableNativeMap
(path to app)/node_modules/react-native-sentry/android/src/main/java/io/sentry/RNSentryModule.java:310: error: cannot find symbol
for (Map.Entry<String, Object> entry : ((ReadableNativeMap)tags).toHashMap().entrySet()) {
^
symbol: method toHashMap()
location: class ReadableNativeMap
(path to app)/node_modules/react-native-sentry/android/src/main/java/io/sentry/RNSentryModule.java:417: error: cannot find symbol
for (Map.Entry<String, Object> entry : extra.toHashMap().entrySet()) {
^
symbol: method toHashMap()
location: variable extra of type WritableNativeMap
I don't know much Java, so I am hoping I am just doing something wrong.
The text was updated successfully, but these errors were encountered:
Hey, it looks like something wrong with you linking process.
Did you call react-native link react-native-sentry?
Also, you react-native version seems very old, consider upgrading it.
OS:
Platform:
React Native Version: 0.41.2
React Native Sentry Version: 0.32.0
I have following issue when trying to run the Android App:
I don't know much Java, so I am hoping I am just doing something wrong.
The text was updated successfully, but these errors were encountered: