I’ve been following Publish to Native Platforms · Cocos Creator and I did battle a bit with getting my mission to construct however I used to be in a position to repair my first few points by downgrading to jdk11, and manually set up ndk21 by way of cmdline-tools sdkmanager. I’m in a position to full the “construct” step superb, however I get points on the “make” step.
The error I get is as follows:
* What went unsuitable:
An issue occurred configuring mission ':NewProject_1'.
> NDK at C:UsersLamimAppDataLocalAndroidSdk didn't have a supply.properties file
I tried to repair it myself by attempting this NDK at ~/Library/Android/sdk/ndk-bundle didn’t have a supply.properties file – Stack Overflow, so I added my ndk model to myprojectfolderbuildandroidprojlibservicebuild.gradle which in flip gave me a brand new error as follows:
* What went unsuitable:
An issue occurred configuring mission ':NewProject_1'.
> SDK location not discovered. Outline location with an ANDROID_SDK_ROOT setting variable or by setting the sdk.dir path in your mission's native properties file at 'C:UsersLamimNewProject_1buildandroidprojlocal.properties'.
So I attempted making the setting variable. Which didn’t work. So I attempted following this android – SDK location not discovered. Outline location with sdk.dir within the native.properties file or with an ANDROID_HOME setting variable – Stack Overflow and including it manually to my native.properties file. Which is now giving me one other error…
* What went unsuitable:
An issue occurred configuring mission ':NewProject_1'.
> NDK at C:UsersLamimAppDataLocalAndroidSdk didn't have a supply.properties file
I do have a number of NDK’s put in, together with 21, ndk-bundle (v22), and 25. My cocos creator is configured to make use of 21, as follows:
Full log file right here: android8-17-2022 20-48.log – Pastes.io