Deploying Android AAR library to Artifactory via Gradle build fails with error “Error deploying artifact: Error transferring file”
When I run ./gradlew uploadArchives to deploy my library artifact to Artifactory server, I get the following error: Uploading: com/example/android-lib/1.0.0-SNAPSHOT/android-lib-1.0.0-20150311.112243-1.aar to repository remote at http://artifactory:8081/artifactory/libs-snapshot-local Transferring 3787K from remote Error writing to server android-lib:uploadArchives FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':android-lib:uploadArchives'. > Could not publish configuration 'archives' > Error deploying artifact 'com.example:android-lib:aar': Error