xxsnakerxx / react-native-flurry-analytics

React Native wrapper for Flurry Analytics
https://developer.yahoo.com/analytics/
MIT License
29 stars 26 forks source link

error: FlurryAnalyticsPackage is not abstract and does not override abstract method createJSModules() in ReactPackage #15

Closed IvRRimum closed 7 years ago

IvRRimum commented 7 years ago

Hey

ava:17: error: FlurryAnalyticsPackage is not abstract and does not override abstract method createJSModules() in ReactPackage
public class FlurryAnalyticsPackage implements ReactPackage {
       ^
1 error
:react-native-flurry-analytics:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-flurry-analytics:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 7.791 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html
{
  "name": "NativeStarterKit",
  "version": "6.2.0",
  "private": true,
  "scripts": {
    "postinstall": "remotedev-debugger",
    "start": "node_modules/react-native/packager/packager.sh",
    "eslint": "eslint",
    "test": "jest"
  },
  "dependencies": {
    "color": "^0.11.3",
    "lodash": "^4.13.1",
    "moment": "^2.13.0",
    "native-base": "2.1.4",
    "react": "16.0.0-alpha.12",
    "react-native": "0.45.1",
    "react-native-code-push": "2.0.1-beta",
    "react-native-communications": "^2.2.1",
    "react-native-easy-grid": "0.1.8",
    "react-native-fetch-blob": "^0.10.8",
    "react-native-flurry-analytics": "^3.0.0",
    "react-native-gifted-listview": "0.0.15",
    "react-native-loading-container": "^0.5.0",
    "react-native-mail": "^3.0.4",
    "react-native-modalbox": "^1.3.4",
    "react-native-onesignal": "^3.0.5",
    "react-navigation": "1.0.0-beta.11",
    "react-redux": "^5.0.2",
    "redux": "^3.6.0",
    "redux-form": "^6.7.0",
    "redux-persist": "^4.0.0",
    "redux-thunk": "^2.2.0",
    "remote-redux-devtools": "^0.5.0"
  },
  "devDependencies": {
    "babel-eslint": "^6.1.2",
    "babel-jest": "17.0.0",
    "babel-preset-react-native": "1.9.0",
    "chai": "^3.5.0",
    "eslint": "^3.5.0",
    "eslint-config-airbnb": "^11.1.0",
    "eslint-plugin-import": "^1.14.0",
    "eslint-plugin-jsx-a11y": "^2.2.1",
    "eslint-plugin-react": "^6.2.0",
    "eslint-plugin-react-native": "^2.0.0",
    "jest": "17.0.0",
    "jest-react-native": "17.0.0",
    "mocha": "^2.5.3",
    "react-test-renderer": "15.3.2",
    "remote-redux-devtools-on-debugger": "^0.7.0",
    "remotedev-server": "^0.1.2"
  },
  "keywords": [
    "android",
    "ios",
    "react",
    "native",
    "react-native",
    "native-base",
    "native-modules",
    "react-component",
    "navbar",
    "packager",
    "rnpm",
    "es6",
    "redux",
    "react-native-code-push",
    "react-native boilerplate",
    "react-native with redux",
    "react-native with redux boilerplate",
    "native-base boilerplate",
    "react-native with native-base"
  ],
  "upstreamRepo": "git@github.com:GeekyAnts/react-native-native-base-seed.git",
  "jest": {
    "preset": "jest-react-native"
  }
}
xxsnakerxx commented 7 years ago

@IvRRimum 3.x supports RN >= 0.47, use 2.x branch

IvRRimum commented 7 years ago

@xxsnakerxx There is no 2.x branch in this repo ://

xxsnakerxx commented 7 years ago

@IvRRimum sorry, I mean npm install react-native-flurry-analytics@2