javafxports

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

时间秒杀一切 提交于 2019-12-17 07:53:37
问题 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

javafxports multidex minSdkVersion is set to 20 or less

自作多情 提交于 2019-12-13 06:18:53
问题 Researched the cause identified in this issue Link to initial cause of issue. The solution is to implement the required use of the android multidex library on android sdk versions 20 or less. The issue now is how to implement the solution detailed at this link Using multidex when minSdkVersion is set to 20 or lower Extract from link. If you do override the Application class, change it to extend MultiDexApplication (if possible) as follows: public class MyApplication extends

JavaFx very slow on Raspberry Pi

女生的网名这么多〃 提交于 2019-12-13 04:42:51
问题 I was able to install Java8 + JavaFx on my Raspberry B+ following this tutorial http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/RaspberryPiFX/raspberryfx.html and thanks to this suggestion JavaFx Ensemble on Raspberry pi I'm able to run Ensemble8 and also a very basic JavaFx test that open a blank stage. In every case the app is very very very slow. Moving the mouse from one point to another takes several seconds!!!! Is this performance normal?? Thanks 回答1: The dalvik-sdk.zip

java.lang.NoClassDefFoundError: javafxports.android.FXDalvikEntity$2

家住魔仙堡 提交于 2019-12-13 00:07:29
问题 Getting the following error when starting my application on Android Phone FATAL EXCEPTION: main Process: ie.murphysoftware.games.magnatron, PID: 17378 java.lang.NoClassDefFoundError: javafxports.android.FXDalvikEntity$2 at javafxports.android.FXDalvikEntity.jfxEventsLoop(FXDalvikEntity.java:484) at javafxports.android.FXDalvikEntity.<init>(FXDalvikEntity.java:118) at javafxports.android.FXActivity.onCreate(FXActivity.java:140) at android.app.Activity.performCreate(Activity.java:5426) at

JavaFX WebView Progress always goes from 0.0 to 1.0. (No intermediate values)

空扰寡人 提交于 2019-12-12 19:13:00
问题 I am currently developing an application with GluonHQ (JavaFXPorts) where I am using the WebView to load some Internet pages. I have noticed that when I am using the following code on Desktop webEngine.getLoadWorker().progressProperty().addListener((a,b,progress) -> System.out.println(": " +progress.doubleValue())); it prints out the loading from 0.0 to 1.0. Loading Page: 0.0 Loading Page: 0.22 Loading Page: 0.38 Loading Page: 0.81 Loading Page: 1.0 Whilst on iOS it always returns 0.0 and 1.0

Cant import android files in gluon mobile

浪尽此生 提交于 2019-12-12 10:24:59
问题 my problem is that import android.content.res.AssetFileDescriptor; import android.media.AudioManager; import javafx.scene.media.MediaPlayer; import javafxports.android.FXActivity; return The import android cannot be resolved. although the class containing those imports is inside the android folder in the gluon single view project and the sdk is referenced. 来源: https://stackoverflow.com/questions/47495400/cant-import-android-files-in-gluon-mobile

Embed native video view in gluon app

∥☆過路亽.° 提交于 2019-12-12 10:15:49
问题 I'm supposed to write an app for iOS and Android that sometimes shows a customized video player on a part of the screen. I have to be able to control it (seek, play, pause, set speed, choose video...). I know that such media is not yet supported in Gluon. But would it be possible to write such a thing in XCode and Android Studio and somehow embed it in a Gluon app? 回答1: Following the design patterns in the Gluon Charm Down library, this could be a basic Android implementation of a

JavaFXPorts - Battery consumtion - Screen always on

萝らか妹 提交于 2019-12-12 06:38:45
问题 I've a question about JavaFXPorts ' battery consumption. On both Android and IOS , the screen is always on . And the phones get quite hot... When creating a trace dump on Android or looking at the extensive log on IOS, you can see the QuantumRenderer to be active the whole time (on IOS you can see the message setSwapInterval([0|1]) (OpenGL?) constantly - this could be a lead. Otherwise: Is it possible, that there's a "always on" flag set? If so: How to turn it off??? Regards, Daniel Edit: As

JavaFxPorts on iOS with Gluon

守給你的承諾、 提交于 2019-12-12 06:24:47
问题 i am using a MacBook Pro with OS X El Capitan Version 10.11.3. I try to start a simple "Hello World" Project from Gluon/javaFXports with the iOS Simulator. If i simply run the project it works on my desktop but every time i run it with "launchIPhoneSimulator" this happens: 14:52:46: Executing external task 'launchIPhoneSimulator'... :compileJava UP-TO-DATE :compileRetrolambdaMain UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE :createDefaultIOSLauncher UP-TO-DATE :compileIosJava

Running error using javafx ports

萝らか妹 提交于 2019-12-12 06:22:35
问题 What went wrong: Execution failed for task ':androidInstall'. com.android.builder.testing.api.DeviceException: java.lang.RuntimeException: No connected devices! Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. 回答1: Had the same problem yesterday. I solved it with download & installing manually the driver from the internet for my device. Whats your device? For Example: My device is the MOTO G with Android 5.0.2 I just searching