You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a new project with v2.5.0, and I got stuck on this: Caused by: java.lang.Exception: No installed ndk found, required 23.3.* can't find ndk with 23.3.xx so I installed 24.0.xx and put the path in ndk.dir in local.properties but still I'm getting same error msg.
Usually caused by android sutdio use differrent sdkRoot with system env ANDROID_HOME(or not set) and save it to proj.android/local.properties, should be fix by following steps:
Set system env ANDROID_HOME same with proj.android/local.properties
Run ./setup.ps1 -p android in the axmol folder, which should install that NDK.
Alternatively, if you want to use a specific NDK version, then edit the .axproj file in the root folder of your project to add the ndk=XYZ. For example, to use NDK r26d, add this:
ndk=r26d+
If you want to set min and target SDKs, also do so in that same file. For example:
min_sdk=26
target_sdk=35
The default values are in {axmol_dir}/1k/build.profiles, as you can see here.
Usually caused by android sutdio use differrent sdkRoot with system env ANDROID_HOME(or not set) and save it to proj.android/local.properties, should be fix by following steps:
Set system env ANDROID_HOME same with proj.android/local.properties
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Usually caused by android sutdio use differrent sdkRoot with system env
ANDROID_HOME
(or not set) and save it toproj.android/local.properties
, should be fix by following steps:ANDROID_HOME
same withproj.android/local.properties
setup.ps1 -p android