问题
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