Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

Got No view Manager defined for class RNSVGGroup #154

Closed
fawwaz opened this issue May 14, 2017 · 6 comments
Closed

Got No view Manager defined for class RNSVGGroup #154

fawwaz opened this issue May 14, 2017 · 6 comments

Comments

@fawwaz
Copy link

fawwaz commented May 14, 2017

This is my package.json :

{
  "dependencies": {
    "lodash": "^4.17.4",
    "react": "^15.4.2",
    "react-native": "^0.42.0",
    "react-native-pathjs-charts": "0.0.28",
    "react-native-side-menu": "^0.20.1",
    "react-native-simple-table": "0.0.2",
    "react-native-sqlite-storage": "^3.3.1",
    "react-native-svg": "^5.1.7",
    "react-native-tab-view": "0.0.63",
    "react-native-vector-icons": "^4.1.1",
    "react-navigation": "^1.0.0-beta.9",
    "react-redux": "^5.0.4",
    "redux": "^3.6.0",
    "redux-logger": "^3.0.1",
    "redux-thunk": "^2.2.0"
  },
  "jest": {
    "preset": "react-native"
  },
  "devDependencies": {
    "babel-jest": "^20.0.0",
    "babel-preset-react-native": "^1.9.1",
    "jest": "^20.0.0",
    "react-test-renderer": "^15.5.4",
    "remote-redux-devtools": "^0.5.7"
  }
}

I've run rnpm link react-native-svg, I also triple check that the library manually (Adding import com.horcrux.svg.SvgPackage; to MainApplication.java and adding new SvgPackage() in getPackage().

@ljingya
Copy link

ljingya commented May 15, 2017

me too。

@ljingya
Copy link

ljingya commented May 15, 2017

you should install svg,i solve it。

@fdiep
Copy link

fdiep commented May 15, 2017

Hey @ljy0605 How did you solve the issue? I get the issue with RNSVGGroup as well.

Is this what you installed react-native-svg

Thanks!

@fdiep
Copy link

fdiep commented May 15, 2017

Got it to work. Had to manually link the library for react-native-svg

@bravokeyl
Copy link

@fawwaz , Try uninstalling the app on device/simulator and then re-install it.

@marzolfb
Copy link
Contributor

marzolfb commented May 19, 2017

@fawwaz and others - the current version of this library (0.0.28) depends on react-native-svg 5.1.8 and that only supports react-native >= 0.44.0 and react == 16.0.0-alpha.6. Updating your dependencies to newer versions should help

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants