Tuesday, April 16, 2024
HomeSample Page

Sample Page Title


I’ve been following Publish to Native Platforms · Cocos Creator and I did battle a bit with getting my venture to construct however I used to be capable of repair my first few points by downgrading to jdk11, and manually set up ndk21 by cmdline-tools sdkmanager. I’m capable of full the “build” step advantageous, however I get points on the “make” step.

The error I get is as follows:

* What went mistaken:
An issue occurred configuring venture ':NewProject_1'.
> NDK at C:UsersLamimAppDataLocalAndroidSdk didn't have a supply.properties file

I tried to repair it myself by making an attempt 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:

SDK location not discovered. Define location with sdk.dir within the native.properties file or with an ANDROID_SDK_ROOT surroundings variable

So I attempted making the surroundings variable. Which didn’t work. So I attempted following this android – SDK location not discovered. Define location with sdk.dir within the native.properties file or with an ANDROID_HOME surroundings variable – Stack Overflow and including it manually to my native.properties file. Which is now giving me one other error…

An issue occurred configuring venture ':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:

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments