B4J Question MacBook M1 and Serial: crash

omaroski

Member
Licensed User
Longtime User
Hello,

i've an application which uses jSerial and it crashes on Apple M1 when the user clicks a button to list the available serial ports:

B4X:
Private Sub btnScan_Click
    cmbPort.Items.Clear
    cmbPort.Items.AddAll(srl.ListPorts)
End Sub

The jSerial version currently used was 1.20 and i can see now there's a new jSerial 1.32 which i'll be using to build the next version.
Should i also bundle the jssc.jar file with the installation? I never did btw. I use install4J to build the installation files.

Do you think this will fix the issue? I don't have a M1 to test of course...

Thanks for help!
 
Top