错误:包com.facebook.yoga不存在

时间:2017-01-27 02:13:22

标签: react-native react-native-android react-native-ios

我在编译时安装了react-native-svg我收到了这个错误

 error: package com.facebook.yoga does not exist

提前致谢

1 个答案:

答案 0 :(得分:2)

执行:

npm install react-native-svg@4.4.1

那么您可能需要这样做:

cd android; gradlew clean

取自:https://github.com/capitalone/react-native-pathjs-charts/issues/55