Raymond Chan
04/01/2022, 10:19 AM* What went wrong:
A problem occurred configuring project ':ninegag-shared-lib'.
> Could not create task ':ninegag-shared-lib:lint'.
> SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties file at '/Users/distiller/project/under9-shared-kmm/local.properties'
Is it possible to bypass this :lint
task creation?
And also there is an interesting part, ./gradlew
execution failed with above error for the first run, where it tries to download Gradle wrapper. Once the ~/.gradle
cache is created, if I call ./gradlew
again, it success without the above error. It only happens when gradlew
is being downloaded for the first time.Raymond Chan
04/01/2022, 10:23 AM./gradlew
, let it fail silently
2. Build my iOS projectRaymond Chan
04/01/2022, 10:24 AM