退出到本机项目后无法为Android构建应用程序

时间:2020-05-01 01:33:53

标签: android react-native build.gradle expo

将我的expo项目弹出到本机项目之后

我无法导出APK文件

我想知道的是,为什么要考虑此任务:??

任务:app:bundleReleaseExpoUpdates资产失败

我退出了expo,它总是在此任务中失败

这是Android Studio的完整日志

Opening `/dev/tty` failed (6): Device not configured
resize:  can't open terminal /dev/tty
┌─────────────────────────────────────────────────────────────────────────┐
│                                                                         │
│   There is a new version of expo-cli available (3.20.0).                │
│   You are currently using expo-cli 3.13.8                               │
│   Install expo-cli globally using the package manager of your choice;   │
│   for example: `npm install -g expo-cli` to get the latest version      │
│                                                                         │
└─────────────────────────────────────────────────────────────────────────┘
[03:17:25] Cannot read property 'publishManifestPath' of undefined
[03:17:25] Set EXPO_DEBUG=true in your env to view the stack trace.

> Task :app:bundleReleaseExpoUpdatesAssets FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:bundleReleaseExpoUpdatesAssets'.
> Process 'command './node_modules/expo-updates/run-expo.sh'' finished with non-zero exit value 1

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

0 个答案:

没有答案