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
Tomski
@Tom-Ski
happy new year!
obigu
@obigu
thanks! Happy new year!
Wheeler Games
@wheelergames_gitlab
Happy New Year guys, thanks for all your hard work both @dkimitsa and @Tom-Ski
obigu
@obigu
@dkimitsa Do you know how can I check which Java version is MobiVM IntelliJ plugin using when building and running an iOS app? I think it may not be using the JDK my project is set to
Demyan Kimitsa
@dkimitsa
@obigu hi, i would start from checking version of class files javac produce
obigu
@obigu
I've checked that, 1.7
which is correct
Demyan Kimitsa
@dkimitsa
Beside project jdk setting there is module sdk settings, for iis it has to be set to robovm sdk
obigu
@obigu
yep, it's set to 2.3.12
Demyan Kimitsa
@dkimitsa
@obigu what kind of problem you have with your setup.? Is it reproducible?
obigu
@obigu

My guess about the JDK is because I'm getting the error:

java.lang.NoSuchMethodError: java.nio.ByteBuffer.limit(I)Ljava/nio/ByteBuffer;
    at com.badlogic.gdx.graphics.glutils.VertexBufferObject.<init>(VertexBufferObject.java:69)

which had happened to me in the past when using libGDX and Java 11+

(on Android) but it's probably the same issue on MobiVM
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
obigu
@obigu
(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?