javafxports

javafxports 'android' gradle task requires “Android Support Library” which is retired from Android SDK Manager…what now?

橙三吉。 提交于 2019-11-27 05:37:56
The official Gluon docs say in the prerequisites for an Android build: From the Android SDK Manager, install...from Extras the Android Support Library However, it seems that this is retired from the sdk manager in lieu of the "Android Support Repository", a gradle repository. The javafxports plugin is apparently still looking for the old support library folder in the android SDK, as indicated by the error: Cannot expand ZIP '<my AppData path>\Local\Android\sdk\extras\android\support\multidex\library\libs\android-support-multidex.jar' as it does not exist which has this stackoverflow answer ,

JavaFXPorts MySqlDB-Driver include in project :dex error

风格不统一 提交于 2019-11-26 22:12:31
问题 I want to create an app/desktopapp which uses a connection to MySqlDB. I used the Gluon plugin in Netbeans. When I want to compile the application for desktop it all works. But when I want to compile the app for Android -> it crashes Info: JDK: 8u65 Netbean version: 8.0.2 Error: Executing: gradle :android :compileJava UP-TO-DATE :compileRetrolambdaMain UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE :compileAndroidJava UP-TO-DATE :compileRetrolambdaAndroid SKIPPED

javafxports how to call android native Media Player

余生颓废 提交于 2019-11-26 21:07:49
As the javafxports Media is not yet implemented I'm looking to use the Android Native MediaPlayer instead. Does anyone know how to do this. If you have a look at the GoNative sample here ( docs and code ), you'll find a way to add Android native code to your JavaFX project. This is a simple example of adding android.media.MediaPlayer to a JavaFX project using the Gluon plugin. Based on a Single View project, let's add first an interface with the required audio method signatures: public interface NativeAudioService { void play(); void pause(); void resume(); void stop(); } Now in our View we

java.lang.StackOverflowError when pressing FX ComboBox on Android

南楼画角 提交于 2019-11-26 18:40:01
问题 When using JavaFXPorts on Android (Android 4.1.1 on Asus Transformer Prime TF201 tablet), a java.lang.StackOverflowError is thrown when pressing on a ComboBox (see below the top stacks of the stacktrace). It happens in a ComboBox in my FX application and is also 100% reproducible with the ComboBox example that is in Ensemble. In other words: can't use JavaFX ComboBox. I'm aware of the Android stack size limit posted in many forums and there are various suggestions on what to do when it

JavaFx Ensemble on Raspberry pi

杀马特。学长 韩版系。学妹 提交于 2019-11-26 13:55:16
问题 I'm trying to run Esemble8.jar on my new RaspBerry pi. I followed this tutorial: http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/RaspberryPiFX/raspberryfx.html I was able to install Java8 but when I try to run the Ensemble8.jar (or any other small JavaFx application) I've this error: Error: Could not find or load main class ensemble.EnsembleApp My PATH is correct; have you some suggestion to fix the problem? Thanks! 回答1: Since the 8u33 for ARM version, Oracle has removed JavaFX