Skip to content

set ANDROID_HOME for gradle to find SDK #21

@abitrolly

Description

@abitrolly

I am not sure if non-snap version does this, but it makes sense to setup ANDROID_HOME when SDK is installed, so that other programs like gradle can find it. Example

./gradlew

FAILURE: Build failed with an exception.

* 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions