微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Flutter 仪器实验室的 Firebase 测试实验室 - “上传的测试 APK 不包含清单文件中指定的测试运行程序类”

如何解决Flutter 仪器实验室的 Firebase 测试实验室 - “上传的测试 APK 不包含清单文件中指定的测试运行程序类”

我正在尝试使用 Firebase 测试实验室作为我使用 Flutter 进行集成测试的一部分,但我在 Firebase 控制台上遇到了这个错误

The uploaded test APK does not contain the test runner class specified in the manifest file. This is probably because the test runner isn't built into the test APK (might be in the app APK instead).

我按照 Flutter 文档@here

中指定的步骤进行操作

这是我在终端上运行的 firebase 命令。但我也尝试将应用程序版本手动上传到 FB TL 控制台并得到相同的错误

gcloud firebase test android run \
--type instrumentation \
--app build/app/outputs/apk/debug/app-debug.apk \
--test build/app/outputs/apk/androidTest/debug/app-debug-androidTest.apk \
--timeout 3m

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。