react-native-firebase-analytics icon indicating copy to clipboard operation
react-native-firebase-analytics copied to clipboard

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

Open kirschem opened this issue 8 years ago • 1 comments

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?

kirschem avatar Sep 06 '17 12:09 kirschem

+1

AviramCohen avatar Sep 30 '17 18:09 AviramCohen