Skip to content

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

@kirschem

Description

@kirschem

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions