CircleCI-Public / cimg-android

The CircleCI Android Docker Convenience Image.
MIT License
72 stars 37 forks source link

SDK location not found #64

Closed maddy10s closed 1 year ago

maddy10s commented 1 year ago

Here is my config file which gives error SDK location not found. Define a valid SDK location with an ANDROID_HOME environment variable or by setting the sdk.dir path in your project's local properties file at '/home/circleci/code/android/local.properties'._

I think the image already has ANDROID_HOME defined but not sure what is missing.

` version: 2.1 jobs: build: docker:

JalexChen commented 1 year ago

Hey @maddy10s - are you still running into issues here? ANDROID_HOME is defined in the Dockerfile - have you tried setting the path in your local properties as well? Additionally, are you able to share your build url so we can take a closer look?

JalexChen commented 1 year ago

Closing this out as it has almost been open for a while. Please reopen if you continue to run into this issue