Jfoenix: import com.sun.javafx.scene.control.skin.TextFieldSkinAndroid;

Created on 2 May 2017  路  7Comments  路  Source: sshahine/JFoenix

Hi, I can't run the demo app from source code, the inspector analyzer throws me error in the com.sun.javafx.scene.control.skin.TextFieldSkinAndroid; package isn't present on my javafx library, I working with jre and jdk 1.8.0_131 version, I need another version of java?

Most helpful comment

hmm if you import this repo as a gradle project it should show both demo and jfoenix as available projects in which case you should be able to run the demo main class as an application from the IDE

All 7 comments

Hello,
Well this class is part of Dalvik javafx for android, you can either run the main demo using gradle, or you have to install the dalvik sdk and import the jfxrt.jar in your project (if you don't want to use gradle).

Regards,

hmm if you import this repo as a gradle project it should show both demo and jfoenix as available projects in which case you should be able to run the demo main class as an application from the IDE

then the project has two demos? one for android and other for desktops applications?, I tryed to run the demo app using gradle, but I was unnable to run the demo because i cant get the data from one repository, I'm so confused, but I will check the project thanks for the quick answers

No it has only one demo, the Android files are used to in JFoenix android build.

Yeah, I already run the demo, thanks for the help 馃憤

For anyone else left wondering like I was:

If your IDE doesn't seem to want to run it, it's because you need to build and run it using gradle.

From the command line try,
gradlew build
and then once that's done do,
gradlew run

Attached is a short example how to run in Idea. Of course the project must have been cloned and imported as Gradle before. After this:

  1. Expand the Gradle tab and open the tasks tree, right click on the run leaf to get the context menu for starting the task
  2. This is the output window
  3. After this a run target is created in Idea for faster accessing

jfoenix -dev-incubator-jfoenix - -demo-src-main-java-demos-maindemo java demo_main - intellij idea_219

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RodrigoSantiago picture RodrigoSantiago  路  3Comments

alittwin picture alittwin  路  4Comments

orochies picture orochies  路  5Comments

Natreve picture Natreve  路  4Comments

SkaaRJik picture SkaaRJik  路  4Comments