Do you have both v4.x & v5.20 installed on the same machine? If so, have you checked that the UsbSerial library is in the Libraries folder for both installations?
Hmmm - I've never had 2 versions of B4A installed on the same machine, so I don't know. Could it be that the v5.20 installation can't reconcile the "B4A" path (ie: is it expecting to be installed in "Anywhere Software")?
Do you have this issue with any other libraries in v5.20? Have you tried creating a new project & adding that library? Failing that, it might have to be an Erel answer that gets you out of this!
I've done the whole uninstall and had them installed to there default locations one at a time and it's the 5.20 that still fails.
I've built the default blank project and it installs to the phone fine, but as soon as I tick the usbserial library and build it, I get the error. Even when nothing is referring to it in code.
No Joy. I took the 4.3 UsbSerial files and place them into the 5.20 Library folder and the same problem exist still.
So I take it that no else is experiencing this issue when referencing the UsbSerial 2.4 library with version 5.20 B4A?
I can still do all my work using 4.3 but I like the 5.2 interface
Try this. Go to the library folder, delete both the usbserial.jar and usbserial.xml from that location. Then download again from the library forum and install the .jar and .xml file again.
I would also suggest making a new folder for downloaded libraries, then pointing Additional Libraries to it.
Turns out that any library in the "Additional Library" path cannot be compiled.
So it looks like any additional library added other than the initial install ends up as missing when compiling but are located in the library window?
Additional libraries added to manager and can be referenced.
Decided to check the USBSerial library myself. The Readme.txt file says "Move both jars and the xml file to your Additional Libraries folder." But I only see one .jar in the .zip archive. Is it possible a .jar file is missing, or should the Readme.txt file be saying "Move both the jar and the xml file to your Additional Libraries folder."
Edit: I think the latter as I was able to compile fine with just the one .jar and .xml