Reputation: 1472
The file '/Users/runner/work/1/s/local.properties' could not be found
I am going through the azure pipeline for my Android project. But I am stuck on the gradle build step
line 31 say local.properties could not be found, which make sense because it is in gitignore. But then azure didn't give any instruction on what to do with this error.
As for the pipeline yaml, I am using the default template for android
Upvotes: 3
Views: 2080
Reputation: 21
I am facing the same issue now. And I resolved it by creating a local.properties.
- task: file-creator@6
inputs:
filepath: '$(System.DefaultWorkingDirectory)/local.properties'
filecontent:
'sdk.dir=C:/Users/Administrator/AppData/Local/Android/Sdk'
fileoverwrite: true
Upvotes: 2