I have an Android project I'm working on I'm trying to set up automated integration testing on every PR against my master branch on GitHub with semaphoreci.
The question I have is, how can I run the gradle tasks if there is no Android SDK? Do I have to push my Android SDK (really don't wanna)? Or can I point to a compiled Android SDK on a server (possibly Google)?
So far I have it set up semaphoreci to run these commands:
gradle wrapper // Fails here
./gradlew clean
./gradlew build
I get this error
FAILURE: Build failed with an exception.
[0K
* What went wrong:
A problem occurred configuring project ':app'.
> SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.