# multiplatform

Raymond Chan

04/01/2022, 10:19 AM
Hello everyone, has any of you encountered this issue for iOS project on CI? My issue is like this, Gradle execution failed on CI for iOS project, which Android’s SDK doesn’t exist, as the CI image is for iOS build only.
Copy code
* 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/'
Is it possible to bypass this
task creation? And also there is an interesting part,
execution failed with above error for the first run, where it tries to download Gradle wrapper. Once the
cache is created, if I call
again, it success without the above error. It only happens when
is being downloaded for the first time.
My current workaround on CI is that 1. Added a step to call
, let it fail silently 2. Build my iOS project
I am using Kotlin 1.6.10 & gradle 7.3.2