尝试使用Mobile Center构建 Android 项目时,我在发布构建阶段收到此错误:
2017-06-13T22:17:25.1335750Z ##[section]Starting: Publish build
2017-06-13T22:17:25.1445350Z ==============================================================================
2017-06-13T22:17:25.1462330Z Task : Publish Build Artifacts
2017-06-13T22:17:25.1477300Z Description : Publish Build artifacts to the server or a file share
2017-06-13T22:17:25.1492900Z Version : 1.0.42
2017-06-13T22:17:25.1507730Z Author : Microsoft Corporation
2017-06-13T22:17:25.1522710Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkID=708390)
2017-06-13T22:17:25.1539050Z ==============================================================================
2017-06-13T22:17:25.7478050Z ##[error]Publish build artifacts failed with error: Not found PathtoPublish: /Users/ci/agent/vstsagent/_work/1/a/build
2017-06-13T22:17:25.7559290Z ##[section]Finishing: Publish build
将我的项目迁移到 Android Studio 3.0 后,我开始收到此错误:
- 构建工具版本 26
- gradle-4.0-milestone-1-all
Obs.:实际上有有一个答案,但它只涵盖了 iOS 版本。