Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 05 13:00
    dkimitsa opened #581
  • Apr 30 14:45
    dkimitsa synchronize #575
  • Apr 29 13:30
    dkimitsa commented #578
  • Apr 29 13:29
    dkimitsa synchronize #575
  • Apr 29 12:53
    dkimitsa opened #580
  • Apr 29 12:46
    dkimitsa opened #579
  • Apr 29 08:33
    legion151 closed #578
  • Apr 29 08:33
    legion151 commented #578
  • Apr 29 07:28
    keesvandieren closed #577
  • Apr 29 07:28
    keesvandieren commented #577
  • Apr 28 19:03
    dkimitsa commented #578
  • Apr 28 07:49
    legion151 commented #578
  • Apr 28 07:45
    legion151 opened #578
  • Apr 27 19:46
    keesvandieren commented #577
  • Apr 27 19:42
    dkimitsa commented #577
  • Apr 27 19:27
    keesvandieren opened #577
  • Apr 26 20:35
    dependabot[bot] labeled #576
  • Apr 26 20:35
    dependabot[bot] opened #576
  • Apr 26 20:35

    dependabot[bot] on maven

    Bump commons-io from 2.6 to 2.7… (compare)

  • Apr 26 14:34
    dkimitsa opened #575
obigu
@obigu
this is a known issue and we have a PR to workaround it on libGDX libgdx/libgdx#6331
I'm running MobiVM tests on libGDX project
so my guess is that it has compiled libGDX with Java 11 (embedded on Idea)
My setup is Idea 2020.3.1 with JDK 1.8 set as Project JDK
(when I say libGDX project I mean the libGDX project itself https://github.com/libgdx/libgdx)
Demyan Kimitsa
@dkimitsa
Where VertexBufferObject class comes from? A jar? Is it correct java version?
Does it fail When you build using gradle?
obigu
@obigu
Fixed, needed to clean RoboVm build folders
It was failing when running the app using the plugin
I don't remember ever setting a different jdk on the project but I'm not 100% sure
thanks for the help!
Demyan Kimitsa
@dkimitsa
Thx for sharing
vaaneeunbnd
@vaaneeunbnd
Hi everyone, happy new year.
I am using GLKMatrix4 as a modelviewmatrix in my robovm app but whenever I try to apply translation to it:
modelViewMatrix.createTranslation(0.0f, 0.0f, -1.0f);
3 replies
It crashes without a debug log, can someone please help me with this
It works when I run the same swift code
tanaya
@tanaya1771992_gitlab
Where can I find latest robopod for google mobile ads?
Demyan Kimitsa
@dkimitsa
@vaaneeunbnd thx, will check today
@tanaya1771992_gitlab version from nov present there https://github.com/dkimitsa/robovm-robopods
Jan update is coming this week
tanaya
@tanaya1771992_gitlab
@dkimitsa I imported compile "io.github.dkimitsa.robovm:robopods-firebase-google-mobile-ads-ios:1.13.0-SNAPSNOT" now when I deploy it on device I'm getting an error
[ERROR] 16:43:32.129 duplicate symbol '_[j]str_kGADSimulatorID_00[ldcstring].spfpoffset' in:
[ERROR] 16:43:32.130 /Users/renderedideas/.robovm/cache/ios/arm64/debug/Users/renderedideas/Desktop/Project/CC/IOS/ios/libs/riextensions.jar/com/renderedideas/riextensions/admanager/implementations/AdmobAd$1.class.o
[ERROR] 16:43:32.130 /Users/renderedideas/.robovm/cache/ios/arm64/debug/Users/renderedideas/Desktop/Project/CC/IOS/ios/libs/riextensions.jar/com/renderedideas/riextensions/admanager/implementations/AdmobVideoAd$1.class.o
[ERROR] 16:43:32.902 ld: 30980 duplicate symbols for architecture arm64
[ERROR] 16:43:33.035 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Demyan Kimitsa
@dkimitsa
@tanaya1771992_gitlab try cleaning robovm cache (there is corresponding menu item)
tanaya
@tanaya1771992_gitlab
@dkimitsa I did that twice
little-dgek
@little-dgek

Hi, on 2.3.12 and 2.3.13-SNAPSHOT I catch some interesting thing. After building, AS 4.1.1 show this error:

[ERROR] Couldn't compile app
java.io.FileNotFoundException: libswiftCoreMIDI.dylib is not found in swift paths
at org.robovm.compiler.target.AbstractTarget.locateSwiftLib(AbstractTarget.java:574)
at org.robovm.compiler.target.AbstractTarget.copySwiftLibs(AbstractTarget.java:652)
at org.robovm.compiler.target.AbstractTarget.copyDynamicFrameworks(AbstractTarget.java:424)
at org.robovm.compiler.target.AbstractTarget.doInstall(AbstractTarget.java:768)
at org.robovm.compiler.target.ios.IOSTarget.prepareLaunch(IOSTarget.java:396)
at org.robovm.compiler.target.ios.IOSTarget.prepareLaunch(IOSTarget.java:391)
at org.robovm.idea.compilation.RoboVmCompileTask$3.doCompile(RoboVmCompileTask.java:315)
at org.robovm.idea.compilation.RoboVmCompilerThread.run(RoboVmCompilerThread.java:66)

I didn't add this lib in my project.
Jonas Engelhard
@Engelhard90_twitter
Hey! I am working with the framework CoreHaptics for Vibrations. The App is crashing at startup for iOS versions below 13 because CoreHaptics is not supported for these versions. Is there a way to conditionally exclude a framework? Thanks
*In robovm.xml
Or any other way to solve the problem?
Demyan Kimitsa
@dkimitsa
@Engelhard90_twitter do you use classes from CoreHaptics during startup ? As robovm loads frameworks lazy once this class is required. The option would be not use CH classes for iOS versions below 13
Jonas Engelhard
@Engelhard90_twitter
I am instantiating "UIImpactFeedbackGenerator" and call "prepare()" on it. Already tried to comment out every reference to CoreHaptics, crashes anyways.
@dkimitsa
Demyan Kimitsa
@dkimitsa
@Engelhard90_twitter either don’t reference CoreHaptics in robovm.xml at all (it will load dynamically) or put it into weak section:
    <weakFrameworks>
        <framework>CoreHaptics</framework>
    </weakFrameworks>
Wheeler Games
@wheelergames_gitlab
Non reported crashes :(
        Signals.installSignals(new Signals.InstallSignalsCallback() {
            @Override
            public void install() {
                // initialize crash reporters here
                FIRApp.configure();
            }
        }, true);
        FIRCrashlytics.registerDefaultJavaUncaughtExceptionHandler();
        FIRMessaging.messaging().setDelegate(this);
I have this in my app, but there are crashes that players are reporting, that don't appear in Firebase
Is there anything else I'm missing possibly?
I am getting other crashes, just it would appear, not all of them
bruno-kakele
@bruno-kakele
Hi. I am using libGDX and robovm. I use the the Preferences (https://libgdx.badlogicgames.com/ci/nightlies/docs/api/com/badlogic/gdx/Preferences.html) to save and load preferences. On iOS, sometimes when I use preference.getString("preference"), I get a string with only null terminated characters (example: "\000", or "\000\000\000"). Did anyone see this behavior before? (I could not find examples of this behavior on Android in my game, but there may be a bug somewhere in my code?). Thanks in advance
Demyan Kimitsa
@dkimitsa
@bruno-kakele are you able to reproduce behaviour on empty project?
bruno-kakele
@bruno-kakele
@dkimitsa I am trying to reproduce it, but so far no success :(
gerds0n
@gerds0n
Hi guys, I got a question. I copied the code of SpriteBatch to create my own one with additional methods. Running it through robovm however causes a crash on startup in the batch's flush() method. This does not happen on Desktop / Android. The code is unchanged to original SpriteBatch. Why does this happen?
"java.lang.NoSuchMethodError: java.nio.ShortBuffer.position(I)Ljava/nio/ShortBuffer;"
gerds0n
@gerds0n
Solved it, thanks!
gerds0n
@gerds0n
I am having an extremely weird bug that I don't understand. On iOS, my font renders with weird y / x offsets / artefacts. The texture is packed into a large 4096 atlas, together with other game assets. On Desktop / Android everything works perfectly. If however I change the atlas to multiple 2048 atlasses, the rendering works fine without any other changes. How is this even possible? It's only on iOS.
Like some glyphs are a few pixel off.
I create the font upfront using FreeTypeFontGenerator and pack the texture into my main atlas using TexturePacker.
Demyan Kimitsa
@dkimitsa
@gerds0n probably you will find libgdx answers faster in their community https://libgdx.badlogicgames.com/community.html
like in discord