React-Native 无法在 Android 测试驱动程序上编译发布
React-Native can't compile for release on Android test-driver
我不明白,但几天后,我无法再在 Android 上编译我的应用程序了。
我检查了很多 post :
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
,这似乎不在我的 mac 上。
我不能再编译了,我被这个错误困住了:
* What went wrong:
Failed to capture snapshot of input files for task ':app:bundleReleaseJsAndAssets' property '' 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-native 信息
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
有人有想法吗?
实际解决的问题是:
unlink third-party/glog-0.3.4/test-driver
由于某些原因,它不在同一个文件夹中,但在此之后可以正常工作。
我不明白,但几天后,我无法再在 Android 上编译我的应用程序了。
我检查了很多 post :
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
,这似乎不在我的 mac 上。
我不能再编译了,我被这个错误困住了:
* What went wrong:
Failed to capture snapshot of input files for task ':app:bundleReleaseJsAndAssets' property '' 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-native 信息
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
有人有想法吗?
实际解决的问题是:
unlink third-party/glog-0.3.4/test-driver
由于某些原因,它不在同一个文件夹中,但在此之后可以正常工作。