gluon-mobile

GET request fails with JAX-RS: Could not find MessageBodyWriter for response object of type: java.util.ArrayList of media type: text/html

生来就可爱ヽ(ⅴ<●) 提交于 2021-01-28 05:55:22
问题 I'm building a sample client-server with JAX-RS using JEE7. I'm using Wildfly 10.1 I followed the guy in this video. Here is the code of the war that runs on the application server: boundary package contains the service package pl.devcrowd.virtual.business.chickens.boundary; import java.util.List; import javax.ejb.Stateless; import javax.inject.Inject; import pl.devcrowd.virtual.business.chickens.controls.ChickenStore; import pl.devcrowd.virtual.business.chickens.entity.Chicken; @Stateless

Gluon Mobile project does not work with gradle 6

瘦欲@ 提交于 2020-05-15 08:47:05
问题 I'm have a Gluon mobile project with a build.gradle like this: buildscript { repositories { jcenter() google() mavenCentral() maven { url 'http://nexus.gluonhq.com/nexus/content/repositories/releases' } } dependencies { classpath 'org.javafxports:jfxmobile-plugin:2.0.30' classpath 'com.google.gradle:osdetector-gradle-plugin:1.6.0' classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.2' } } repositories { jcenter() maven { url 'http://nexus.gluonhq.com/nexus/content/repositories/releases'

How to change version of RoboVM compiler to 2.3.10-SNAPSHOT in Gluon Mobile

时间秒杀一切 提交于 2020-04-11 19:11:05
问题 I have an issue with running my JavaFX/Gluon Mobile App on iPadOS 13.3 Actually the similar issue is described here: Gluon sample application failing on ios devices I've identify that the problem is caused by RoboVM and should be fixed in the version 2.3.10-SNAPSHOT How can I change the version of RoboVM used by Gluon? In the Gluon documentation is mentioned the ios gradle extension property robovmVersion . This property can be set to the version robovmVersion ='2.3.5-ios12' but not 2.3.10.

Gluon sample application failing on ios devices

送分小仙女□ 提交于 2020-03-03 04:40:58
问题 I am trying to run my gluon sample application on ios device but I am getting an exception while launching the app using the command ./gradlew --info launchIosDevice . The error stack trace is org.robovm.libimobiledevice.LibIMobileDeviceException: IDEVICE_E_NOT_ENOUGH_DATA at org.robovm.libimobiledevice.IDevice.checkResult(IDevice.java:197) at org.robovm.libimobiledevice.IDeviceConnection.receive(IDeviceConnection.java:109) at org.robovm.libimobiledevice.util.AppLauncher.receiveGdbAck

Charm 4.0.1 possibility to disable layout adjustment when keyboard shows up

我的梦境 提交于 2020-01-25 21:08:55
问题 I'm facing several problems with the new function which is responsible for adjusting the view layout, when the keyboard shows up. For example when a DatePicker is shown while a TextField is focused: Is there a possibility to disable this function? EDIT: While removing the focus from the TextField before the DatePicker is shown works, there are still some others issues so I would prefer to use my own custom solution AndroidNodePositionAdjuster. Another issue e.g. is an unpleasant white area

Example project doesn't work

 ̄綄美尐妖づ 提交于 2020-01-04 09:12:49
问题 I use a mac with OS X El Capitan with Eclipse IDE When I create a project "Gluon Mobile - Single View Project" I can not compile for Android because I have a problem with multidex. I use this command : ./gradlew androidInstall Execution failed for task ':mergeClassesIntoJar'. > Cannot expand ZIP '/.../sdk/extras/android/support/multidex/library/libs/android-support-multidex.jar' as it does not exist. I saw differents topics and I did these verifications : Android SDK is installed by "Android

Example project doesn't work

隐身守侯 提交于 2020-01-04 09:12:23
问题 I use a mac with OS X El Capitan with Eclipse IDE When I create a project "Gluon Mobile - Single View Project" I can not compile for Android because I have a problem with multidex. I use this command : ./gradlew androidInstall Execution failed for task ':mergeClassesIntoJar'. > Cannot expand ZIP '/.../sdk/extras/android/support/multidex/library/libs/android-support-multidex.jar' as it does not exist. I saw differents topics and I did these verifications : Android SDK is installed by "Android

Can't build a gluon project for mobile using gradle

ⅰ亾dé卋堺 提交于 2019-12-29 01:39:06
问题 I followed the instructions on http://docs.gluonhq.com/charm/4.0.1/#_getting_started. I'm using eclipse 4.5.2 and JDK 1.8.0_102. I also downloaded Android Studio with the 24/25 API level SDK from https://developer.android.com/studio/index.html#Other. Here is what I did: downloaded gradle 3.1 and set up the environment variables so gradle -v returns the correct information. installed the eclipse gluon plugin version 2.4.0 from http://download.gluonhq.com/tools/eclipse/release installed

How can I install “Android Support Library” to deploy a Gluon Mobile application to Android?

不羁的心 提交于 2019-12-28 02:13:07
问题 I would like to develop an Android app using the Gluon Mobile framework. I installed the Gluon plugin in my Netbeans IDE, created a sample project and built it successfully. Now I would like to deploy the app to an Android device. I'm referring to the online documentation [1]: http://docs.gluonhq.com/charm/4.2.0/#_getting_started As in [1], section "2.1.3. Android", I downloaded Android Studio 2.2.3 and installed the build-tools version 23.0.1 and the SDK Platform for API 21 from the Android

Build failure for JavaFX android app using the gluon mobile plugin

删除回忆录丶 提交于 2019-12-25 18:40:08
问题 I just started a new gluon mobile multi view project with FXML and tried to run it before changing anything (apart from updating the jfxmobile-plugin version in the build.gradle file from 1.2.0 to 1.3.2). it works fine on desktop, but when i try to run the androidinstall gradle task (with my android phone connected) it fails. It gives me the following error: :mergeClassesIntoJar :shrinkMultiDexComponents :createMainDexList :writeInputListFile [ant:java] Java Result: 1 :dex FAILED FAILURE: