No serial library Processing for smartphone. Help

as for this 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 repository to your root build.gradle:

allprojects { repositories { … maven { url ‘’ } } }

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 to your project’s res/xml/ directory and configure in your AndroidManifest.xml .

<activity android:name="…" …>

1 Like