Replies: 7 comments
-
The Android (Java) target has been removed a long while ago, what you are using is the Android (C++) target - which requires the NDK. |
Beta Was this translation helpful? Give feedback.
-
The target above is called just 'Android' (I assumed it was Java). I tried 'Android (Native)' without success, because it prints an error message: Executing task: node C:\Developer\Kha\make.js android-native Using Kha (b90792d) from C:\Developer\Kha So, both Android targets don't work (see the dependencies error above, right in the first line). Which should I use? |
Beta Was this translation helpful? Give feedback.
-
There is only one Android target nowadays. And it needs the NDK. |
Beta Was this translation helpful? Give feedback.
-
I tried the Android target, only Android Studio says that the item <Haxe 3.2.0> in the module dependencies list is invalid, whatever that means. Can you help? |
Beta Was this translation helpful? Give feedback.
-
Oh, I have an idea about that - did you maybe open the ProjectName-android-intellij directory instead of the android-build/ProjectName directory? |
Beta Was this translation helpful? Give feedback.
-
Yes, that did it. Thanks! Now I've got a problem. When I say:
only the last texture (texItem3) is drawn. The others are not drawn. If I reorder the items, only the last item in the list is drawn. Each drawTexture is basically:
The code works in HTML5 Debug, but not in Android. Can you tell me what is happening? |
Beta Was this translation helpful? Give feedback.
-
Don't know. Linux and Android switched to Vulkan by default not too long ago, might be a bug with that. Can you open an issue and provide a small sample-project? |
Beta Was this translation helpful? Give feedback.
-
It has the item <Haxe 3.2.0> in the dependencies list (Android Studio complains that it is invalid). Also, khamake says:
node C:\Developer\Kha\make.js android
Using Kha (b90792d) from C:\Developer\Kha
Creating Kha project.
...
Using Kinc (06da8e4d) from C:\Developer\Kha\Kinc
kfile found.
Creating Android project files.
Platform is set to Android, but android toolchain not found.
Please set the ANDROID_NDK environment variable if you need a compile_commands.json for your IDE.
Done.
Done.
Android NDK should not be necessary for this one, I think.
Beta Was this translation helpful? Give feedback.
All reactions