!tEFHcrqTzJlFmeswBr:matrix.org

Scala on Android

229 Members
Write Android apps in Scala! - scala-android.org2 Servers

Load older messages


SenderMessageTime
23 May 2022
@_discord_149520872317779968:t2bot.iofiatjaf#8482 * openjdk 11. I tried with 8 but I think it didn't compile or something like that. I'm using this: https://github.com/dsvdsv/scala-android-plugin 16:20:03
@_discord_149520872317779968:t2bot.iofiatjaf#8482 hmm, I'll try again 16:20:14
@_discord_149520872317779968:t2bot.iofiatjaf#8482 yeah, I get java.lang.UnsupportedClassVersionError: scala/android/plugin/ScalaAndroidPlugin has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 16:20:49
@_discord_632729825647525922:t2bot.ioekrich#7695 ClassValue has been since 1.7 anyway so stick with Java 11 - https://docs.oracle.com/javase/8/docs/api/java/lang/ClassValue.html 16:21:55
@_discord_832633653380907048:t2bot.ioraishad joined the room.16:42:56
@_discord_149520872317779968:t2bot.iofiatjaf#8482Download error.txt16:54:50
@_discord_149520872317779968:t2bot.iofiatjaf#8482 breaking news, the actual stack trace is this: 16:54:50
@_discord_149520872317779968:t2bot.iofiatjaf#8482 the other stuff I pasted above is what shows on adb logcat, but the app itself had a function to catch exceptions and export them, and I assumed it would yield the same errors so I didn't even check, but now I checked and instead it yielded this 16:56:27
@_discord_149520872317779968:t2bot.iofiatjaf#8482 * the other stuff I pasted above is what shows on adb logcat, but the app itself (which is an older codebase I inherited) had a function to catch exceptions and export them, and I assumed it would yield the same errors so I didn't even check, but now I checked and instead it yielded this 16:56:46
@_discord_149520872317779968:t2bot.iofiatjaf#8482 it seems akka and its reflection tricks aren't helping 16:57:34
@_discord_149520872317779968:t2bot.iofiatjaf#8482 they had failed me once with graalvm, and now they also fail on android 16:57:55
@_discord_149520872317779968:t2bot.iofiatjaf#8482 my next step should be to get rid of akka 16:58:09
@_discord_149520872317779968:t2bot.iofiatjaf#8482 sorry for asking for help here with wrong information, and thank you for your patience 16:58:43
@_discord_154558903290560512:t2bot.ioJD557#8432 joined the room.17:01:14
@_discord_154558903290560512:t2bot.ioJD557#8432 this is based on something I have heard ages ago (I'm no android programmer) but have you tried disabling Proguard? I guess might help if the problem is reflection 17:01:14
@_discord_632729825647525922:t2bot.ioekrich#7695 No worries - yes using Unsafe and reflection - bad. 17:03:25
@_discord_149520872317779968:t2bot.iofiatjaf#8482 I have no idea of what that is either, but I will try 17:04:05
@_discord_632729825647525922:t2bot.ioekrich#7695 https://blogs.oracle.com/javamagazine/post/the-unsafe-class-unsafe-at-any-speed 17:10:12
@_discord_632729825647525922:t2bot.ioekrich#7695 Might help. 17:10:20
@_discord_978209905590812732:t2bot.ioAGUIE joined the room.17:44:00
@_discord_692391819916345364:t2bot.ioDynam1co joined the room.19:51:43
24 May 2022
@_discord_972210357034700821:t2bot.iosteve-comcast joined the room.22:53:43
25 May 2022
@_discord_871875254451044363:t2bot.ioMridulGupta | GithHubSRM joined the room.00:24:59
@_discord_717633587284803616:t2bot.iorhansen joined the room.12:53:09
@_discord_240989507208478722:t2bot.ioBillzabob joined the room.17:24:03
@_discord_712743405628948531:t2bot.iomaxo changed their display name from maxo to maxo#0417.21:24:48
@_discord_712743405628948531:t2bot.iomaxo changed their display name from maxo#0417 to maxo.21:24:52
@_discord_346552981510160384:t2bot.ioACE81 joined the room.23:08:53
26 May 2022
@_discord_317417873159094283:t2bot.iomilestobudapest joined the room.09:21:28
@_discord_554696665056149505:t2bot.ioNicolas joined the room.12:12:16

There are no newer messages yet.


Back to Room List