I have a problem and after two days of searching and several attempts here I am waiting for help.
I started using Netbeans 8.1 for the first steps in Java, everything went well until I wanted to go a little bit and I was very interested in JavaFX that with the Gluon plugin we can create a simultaneous desktop and android application with Gluon project I can not run on Android, error:
Caused by: org.gradle.internal.exceptions.LocationAwareException: ANDROID_HOME not specified. Either set it as a gradle property, the system environment variable or directly in your build.gradle by setting the extension jfxmobile.android.androidSdk.
Caused by: org.gradle.api.GradleException: ANDROID_HOME not specified. Either set it as a gradle property, a system environment variable or directly in your build.gradient by setting the extension jfxmobile.android.androidSdk.
I have already seen several explanations for this error but none of them worked, so I decided to download the HelloWorld project from Gluon itself, and testing the exact same error appears.
So I thought, I'm going to create a root project for android, (with the nbandroid plugin), I created a simple project to present Bomdia, and running it runs perfectly in the emulator ...
Can anyone help me? If I need any more information I am at your disposal. Thanks in advance.