evollu / evollu/react-native-firebase-analytics

error: cannot find symbol import com.evollu.react.fa.FIRAnalyticsPackage;

Open
#64 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
206
Forks
52
PR merge metrics
No merged PRs in 30d

Description

Hello,

I installed the package with
`npm install react-native-firebase-analytics --save`
then I tried to link it with
`react-native link`.
This did nothing, so I linked the library manually:

MainApplication.java:
`import com.evollu.react.fa.FIRAnalyticsPackage;
...
new FIRAnalyticsPackage()`

android/app/build.gradle (bottom of the file):
`
dependencies {
...
compile project(':react-native-firebase-analytics')
}
apply plugin: 'com.google.gms.google-services'`

android/build.gradle:
`
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.google.gms:google-services:3.0.0'
}`

settings.gradle:
`include ':app', ':react-native-firebase-analytics'
project(':react-native-firebase-analytics').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-firebase-analytics/android')`

Still i get this error when compiling:
`error: cannot find symbol
import com.evollu.react.fa.FIRAnalyticsPackage;`

Any Ideas?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.