Android Question Issue in running USBSerial2.3 example

mandargholap

Member
Licensed User
Longtime User
I have downloaded the USBSerial 2.3 zip and open the project.

When I am trying to run the program, it is showing unknown type :UsebSerial. Are you missing a library reference.

IN my Project i have set the path to the folder where I have kep both USB_SERIAL.jar and usb-serial-for-android-v010.jar file. The AsyncStreams variable is getting reference but not the UsbSerial.

PL.find attached the screenshot.

Thanks

Mandar
 

Attachments

  • Error.PNG
    Error.PNG
    71.8 KB · Views: 404

mandargholap

Member
Licensed User
Longtime User
Thanks for the prompt reply.

Pl. find attached screenshot of the jar file location and the path setting.
 

Attachments

  • Library_Path.PNG
    Library_Path.PNG
    91.6 KB · Views: 321
Upvote 0

mandargholap

Member
Licensed User
Longtime User
Thanks Erel. I got it.


I have small query. I have compiled the UsbSerial2.3 program. But when I am connecting my Samsung mobile to PC, I am getting No USB device connected error?

Pl suggest.
 
Upvote 0

msucho

Member
Licensed User
Longtime User
Hi Erel:
I am triyng to compile the USB-Serial example, and every time I do the compiler show me theses lines:
------------------------------------------------------------------------------------------------------------------
Convert byte code - optimized dex. Error
A referenced library is missing: usb-serial-for-android-v010
-----------------------------------------------------------------------------------------------------------------
Then the compile process freeze for long time.

What is wrong?

Thanks in advance.

Marcelo
 
Upvote 0
Top