mik3y / usb-serial-for-android

Android USB host serial driver library for CDC, FTDI, Arduino and other devices.
MIT License
4.85k stars 1.59k forks source link

SerialInputOutputManager decompiled byte code does not match with the source code #536

Closed mfran89 closed 1 month ago

mfran89 commented 1 year ago

So I made a ticket awhile ago in regards to this #516 . I just had a chance to get back to this and I think I have figured out the issue. I am using an external library called ATAK and there is a decompiled byte code for the older version of your code in it. My background in gradle is not very strong and the issue seems to be a class conflict on the external library level. Would you have any recommendations on making my project see your external library 'com.github.mik3y:usb-serial-for-android:3.5.1' as the library to use as opposed to the one located in the ATAK library?

Thanks Mike

kai-morich commented 1 year ago

you could try to limit visibility of nested library with implementation instead of api, or try changing the order in dependencies section

mfran89 commented 1 year ago

I am currently using implementation to add the library , I tired playing with the exclude command within the implementation and that didnt do the trick either.