SDK directory is not writable when building Android project on Ubuntu agent of Azure Pipelines
问题 I'm configuring my build pipeline for an Android project. So far, all of my steps are working perfectly on Hosted VS2017 agent, including fetching the code, building with gradlew, publishing the artifact and deploying it to AppCenter. However, on Hosted Ubuntu 1604, there are a few problems with gradlew step. On VS2017 agent, this works with just: .\gradlew assembleDebug On Ubuntu 1604, this is what I'm having right now: chmod 775 gradlew chmod 775 /usr/local/lib/android/sdk --> The fix I'm