flurry / react-native-flurry-sdk

React Native Flurry SDK
Apache License 2.0
45 stars 13 forks source link

Cannot read property 'initBuilder' of undefined #18

Closed pouya92 closed 5 years ago

pouya92 commented 5 years ago

Hi, I tried to install this library and I faced this issue on iOS so I tried to use cocopods and it solved my problem, and now Im facing this error on android could you please tell me how can I manually link this library for android? I'm using react native 0.59.6 and "react-native-flurry-sdk": "^4.1.0",

pouya92 commented 5 years ago

Here is my files on android : mainAplication.java : Screen Shot 2019-09-12 at 3 58 33 PM

Android Manifest: Screen Shot 2019-09-12 at 3 59 39 PM

build.gradle dependencies Screen Shot 2019-09-12 at 4 00 31 PM

setting.gradle" Screen Shot 2019-09-12 at 4 01 47 PM

package.json: Screen Shot 2019-09-12 at 4 02 44 PM

pouya92 commented 5 years ago

I managed to solve this, it seems I need to add two lines to my mainApplication.java file Screen Shot 2019-09-12 at 4 58 15 PM