We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting cannot find symbol while initializing. Can you give me some reference for the react native setup
Error: /Users/devendrasathaye/Desktop/predis/free-app-code/android/app/src/main/java/com/predis/app/MainActivity.java:27: error: cannot find symbol private final Analytics analytics = MainApplication.analytics; ^ symbol: class Analytics location: class MainActivity /Users/devendrasathaye/Desktop/predis/free-app-code/android/app/src/main/java/com/predis/app/MainApplication.java:91: error: cannot find symbol analytics = Parcelvoy.initialize(this, apiKey, urlEndpoint); ^ symbol: method initialize(MainApplication,String,String) location: class Parcelvoy /Users/devendrasathaye/Desktop/predis/free-app-code/android/app/src/main/java/com/predis/app/MainActivity.java:27: error: analytics has private access in MainApplication private final Analytics analytics = MainApplication.analytics; ^
The text was updated successfully, but these errors were encountered:
Imports // parcelvoy import com.parcelvoy.android.Config; import com.parcelvoy.android.Parcelvoy;
Declared a private static instance in MainApplication class private static Parcelvoy analytics;
Inside onCreate() tried to intialize: analytics = Parcelvoy.initialize(this, apiKey, urlEndpoint);
Sorry, something went wrong.
No branches or pull requests
Getting cannot find symbol while initializing. Can you give me some reference for the react native setup
Error: /Users/devendrasathaye/Desktop/predis/free-app-code/android/app/src/main/java/com/predis/app/MainActivity.java:27: error: cannot find symbol
private final Analytics analytics = MainApplication.analytics;
^
symbol: class Analytics
location: class MainActivity
/Users/devendrasathaye/Desktop/predis/free-app-code/android/app/src/main/java/com/predis/app/MainApplication.java:91: error: cannot find symbol
analytics = Parcelvoy.initialize(this, apiKey, urlEndpoint);
^
symbol: method initialize(MainApplication,String,String)
location: class Parcelvoy
/Users/devendrasathaye/Desktop/predis/free-app-code/android/app/src/main/java/com/predis/app/MainActivity.java:27: error: analytics has private access in MainApplication
private final Analytics analytics = MainApplication.analytics;
^
The text was updated successfully, but these errors were encountered: