# No serial library Processing for smartphone. Help

**URL:** <https://discourse.processing.org/t/no-serial-library-processing-for-smartphone-help/29870>\
**Category:** Processing for Android\
**Created:** [May 5, 2021, 9:34am UTC](https://discourse.processing.org/t/no-serial-library-processing-for-smartphone-help/29870 "2021-05-05T09:34:04Z")\
**Posts on this page:** 1\
**Showing post:** 180

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [May 13, 2021, 7:19pm UTC](https://discourse.processing.org/t/no-serial-library-processing-for-smartphone-help/29870/180 "2021-05-13T19:19:10Z")

</div>

as for this [device\_filter.xml](https://github.com/mik3y/usb-serial-for-android/blob/master/usbSerialExamples/src/main/res/xml/device_filter.xml)  
you can create the path in side your project folder if the path not already presented and add it with any editor

in one of my photos up i show where is the path

you have to be sure that you followed this steps

**1.** Add library to your project:

Add [jitpack.io](http://jitpack.io) repository to your root build.gradle:

allprojects { repositories { … maven { url ‘[https://jitpack.io](https://jitpack.io)’ } } }

Add library to dependencies

dependencies { implementation ‘com.github.mik3y:usb-serial-for-android:3.3.1’ }

**2.** If the app should be notified when a device is attached, add [device\_filter.xml](https://github.com/mik3y/usb-serial-for-android/blob/master/usbSerialExamples/src/main/res/xml/device_filter.xml) to your project’s `res/xml/` directory and configure in your `AndroidManifest.xml` .

\<activity android:name="…" …\>

---

_[View the full topic](https://discourse.processing.org/t/no-serial-library-processing-for-smartphone-help/29870)._
