我不明白,但是几天后,我不能再在Android上编译我的应用程序了。
我查看了很多关于它的帖子:
https://github.com/facebook/react-native/issues/14464
https://github.com/facebook/react-native/issues/14417
他们都说:
unlink node_modules/react-native/third-party/glog-0.3.4/test-driver但是我的文件夹中没有任何测试驱动程序,所以我从官方网站下载了glog-0.3.4。他们有一个链接到/usr/share/automake-1.14/test-driver的test-driver,似乎也不在我的苹果电脑上。
我不能再编译了,并且我遇到了这个错误:
* What went wrong:
Failed to capture snapshot of input files for task ':app:bundleReleaseJsAndAssets' property '$1' during up-to-date check.
> Could not list contents of '/Users/xxx/Documents/ReactJS/xxx/third-party/glog-0.3.4/test-driver'. Couldn't follow symbolic link.react-原生信息
Environment:
OS: macOS 10.14.4
Node: 8.11.2
Yarn: 1.9.4
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 10.2.1 Build version 10E1001
Android Studio: 3.3 AI-182.5107.16.33.5314842
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.4 => 0.55.4有谁有主意吗?
发布于 2019-05-18 15:26:39
实际解决的问题是:
unlink third-party/glog-0.3.4/test-driver
由于某些原因,它不在同一文件夹中,但在此之后使其工作。
https://stackoverflow.com/questions/56190003
复制相似问题