# Duplicate class Error thrown with ShortMessage library on Android mode

**URL:** <https://discourse.processing.org/t/duplicate-class-error-thrown-with-shortmessage-library-on-android-mode/35443>\
**Category:** Processing for Android\
**Created:** [February 25, 2022, 11:36am UTC](https://discourse.processing.org/t/duplicate-class-error-thrown-with-shortmessage-library-on-android-mode/35443 "2022-02-25T11:36:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigboss97](https://avatars.discourse-cdn.com/v4/letter/b/47e85d/32.png) [@bigboss97](https://discourse.processing.org/u/bigboss97)\
**Post date:** [February 25, 2022, 11:36am UTC](https://discourse.processing.org/t/duplicate-class-error-thrown-with-shortmessage-library-on-android-mode/35443/1 "2022-02-25T11:36:29Z")

</div>

I’m running Processing v3.5.4 on Windows10. I’ve downloaded the package from:  
C:\Users\home\Documents\Processing\libraries\ShortMessage  
I added the library ShortMessage from the default list. I can run the sample code _ReceiveMessages.pde_ in java mode without errors.

When I run it on Android mode I’m getting:

```auto
     Duplicate class org.ajwcc.pduUtils.gsm3040.SmsSubmitPdu found in modules jetified-pduutils (pduutils.jar) and jetified-smslib-3.5.1 (smslib-3.5.1.jar)
     Duplicate class org.ajwcc.pduUtils.gsm3040.ie.ConcatInformationElement found in modules jetified-pduutils (pduutils.jar) and jetified-smslib-3.5.1 (smslib-3.5.1.jar)
     Duplicate class org.ajwcc.pduUtils.gsm3040.ie.InformationElement found in modules jetified-pduutils (pduutils.jar) and jetified-smslib-3.5.1 (smslib-3.5.1.jar)
     Duplicate class org.ajwcc.pduUtils.gsm3040.ie.InformationElementFactory found in modules jetified-pduutils (pduutils.jar) and jetified-smslib-3.5.1 (smslib-3.5.1.jar)

```

How can I fix this?
