mirror of
https://github.com/mik3y/usb-serial-for-android
synced 2025-06-09 00:46:11 +00:00
Destroyed Building From Source (markdown)
parent
7e3b03105d
commit
c4e3d2567c
@ -1,37 +0,0 @@
|
||||
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
|
||||
|
||||

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

|
||||
|
||||
**3.** Ctrl-click on *your app* and select "Properties", then "Build Path".
|
||||
|
||||
**4.** In the "Projects" subtab, add "UsbSerialLibrary"
|
||||
|
||||

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

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

|
||||
|
||||
That's it!
|
||||
|
||||
## Developer Setup - Gradle
|
||||
|
||||
With a copy of the source already copied into your project directory, add the following in your `build.gradle` file:
|
||||
|
||||
```
|
||||
dependencies {
|
||||
compile project(':usb-serial-for-android:usbSerialForAndroid')
|
||||
}
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user