Skip to content

Building From Source

mike w edited this page Nov 21, 2013 · 2 revisions

Do you want to use usb-serial-for-android from source with your Android project? Read on.

Developer Setup - Eclipse

1. Select File -> Import -> Existing Projects Into Workspace

Step 1

2. Navigate to usb-serial-for-android/ and continue.

Step 2

3. Ctrl-click on your app and select "Properties", then "Build Path".

4. In the "Projects" subtab, add "UsbSerialLibrary"

Step 4

5. In the "Order and Export" subtab, be sure "UsbSerialLibrary" is checked.

Step 5

6. Now click over to "Android" in the left panel, and in the Library section, press Add. Add UsbSerialLibrary.

Step 6

That's it!

Clone this wiki locally