But I get this error and I don’t know what to do, any suggestions?
....
:deps:extension-api:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
:deps:extension-api:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':deps:extension-api:compileReleaseJavaWithJavac'.
> Could not find tools.jar
I also have everything updated with the android SDK
Only difference I can see is that I have it in the upper half, the user variables and you have it on the lower panel for system variables. But that probably ain’t it. I am kind of lost here. Everything seems to be ok prima facie.
Did you use to be able to compile to android before and was there some change and suddenly it didn’t work anymore, and that was the haxe version update alone ? You said the latest version of haxe, meaning 3.4.4 and not the previews right ?
I’ve been using haxe 3.2.2 for a long time due to incompatibilities of some extensions, but I’m trying to make a framework of my own with all the latest updates…
but since I installed the last haxe I haven’t been able to compile android.
flash, html5 and neko works for my right now using only this libraries in the project:
It is that one of the tests was to update the jdk to 9 but it didn’t recognize the java. this is the error that shows when i changed for the folder jdk9
...
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '9.0.1'.
I’m using jdk-8u151-windows-x64.exe, maybe you could test install something older to your current version and see if it picks it up and corrects the problem.
I ran into the same problem attempting to run the BunnyMark sample on a fresh computer.
The solution was to roll back to JDK 8 and add the following line to the ‘gradle.properties’ file in the lime haxelib folder (as well as update the environment variable):