Error: No matching files were found with search pattern: D:\a\1\s\**\*.apk

大城市里の小女人 提交于 2021-01-27 06:15:10

问题


I have react-native application in windows 10 which works great in my development machine, it can release signed apk and everything is ok.

I am using VSTS (TFS Online) as my source control, When I Build my project, everything built successfully, but I get strange error

this is where you can see build successfully done, and I face error

this is the error details

any clue?

Update These are my tasks in Build definition

Update 2

Add Gradlew task in Build definition


回答1:


I'm answering my own question for those who may face similar issue

Based on the @Cece-Don-MSFT helps, I found out that in the gradlew task I had to change the working directory

despit the fact that in most cases this variable should be empty, because it is set to the project root, in my case, I had to change the working directory to android directory



来源:https://stackoverflow.com/questions/51692776/error-no-matching-files-were-found-with-search-pattern-d-a-1-s-apk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!