# How to add Processing library(external library) - I wonder

**URL:** <https://discourse.processing.org/t/how-to-add-processing-library-external-library-i-wonder/41594>\
**Category:** Processing for Android\
**Created:** [April 4, 2023, 5:06am UTC](https://discourse.processing.org/t/how-to-add-processing-library-external-library-i-wonder/41594 "2023-04-04T05:06:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [April 4, 2023, 5:06am UTC](https://discourse.processing.org/t/how-to-add-processing-library-external-library-i-wonder/41594/1 "2023-04-04T05:06:38Z")

</div>

How to add processing library - I wonder.

hello. Nice to meet you.

1. In ‘JAVA Mode’, create ‘code’ folder and add ‘jar’ file.

2. How can I add a library in ‘Android Mode’?  
(external library)

Library link to add: [https://github.com/pedroSG94/rtmp-rtsp-stream-client-java](https://github.com/pedroSG94/rtmp-rtsp-stream-client-java)

There are people who know how.  
help me.

---

<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:** [April 4, 2023, 11:34pm UTC](https://discourse.processing.org/t/how-to-add-processing-library-external-library-i-wonder/41594/2 "2023-04-04T23:34:09Z")

</div>

Hi

1 note that is not all libraries are compatible via android mode

For example processing serial library works via processing just and not compatible with Android mode

2 download your library then extract it in processing /libraries path

That’s in general but for your GitHub Link I have no idea how

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [April 4, 2023, 11:45pm UTC](https://discourse.processing.org/t/how-to-add-processing-library-external-library-i-wonder/41594/3 "2023-04-04T23:45:15Z")

</div>

@jafal

hello. Nice to meet you. Thank you for quick response.  
I hope you have a good day today.

1. In the case of ‘Processing JAVA Mode’, it is not a library provided by Processing, but you can use the library after adding the ‘code’ folder to the same sketch folder.

2. In ‘Processing Android Mode’, it seems to mean to put it in the ‘Processing Folder/Library Folder’ and test it.

3. Have you ever tried something other(external library) than the ‘library’ provided by ‘Processing’?

---

<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:** [April 4, 2023, 11:54pm UTC](https://discourse.processing.org/t/how-to-add-processing-library-external-library-i-wonder/41594/4 "2023-04-04T23:54:02Z")

</div>

Hi

> [@GWAK](#):
>
> Have you ever tried something other(external library) than the ‘library’ provided by ‘Processing’?

No I didn’t

You need help in that from people using Android studio

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [April 4, 2023, 11:58pm UTC](https://discourse.processing.org/t/how-to-add-processing-library-external-library-i-wonder/41594/5 "2023-04-04T23:58:13Z")

</div>

You can think that it is difficult to operate in ‘Processing Android Mode’, right?

---

<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:** [April 5, 2023, 12:02am UTC](https://discourse.processing.org/t/how-to-add-processing-library-external-library-i-wonder/41594/6 "2023-04-05T00:02:03Z")

</div>

Hi

Yes … Read about it and about the issues in your link

---

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [April 5, 2023, 12:42am UTC](https://discourse.processing.org/t/how-to-add-processing-library-external-library-i-wonder/41594/7 "2023-04-05T00:42:43Z")

</div>

Not sure about installing in Processing; possibly in Documents/Processing/modes/AndroidMode/libraries. However, I was able to install it on my Android device using Android Studio which you will need to have installed on your system if you don’t already. I used the following steps:

1. Download the github file _rtmp-rtsp-stream-client-java-master_ to your computer.
2. I then double clicked on the file ‘settings.gradle’ in the download folder (see below) and it automatically opened Android Studio on my system and proceeded to install a series of gradle files.

 ![rtmp](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/7/6/7645a0543323984f7f7c95d13b5e3c31aca6e14b.jpeg)

1. There was one error which had something to do with the version name and I just REMmed it out.
2. Make sure that your Android device is shown at the top of the Android window.
3. Hit run and wait while it installs the app on your device. You should see the following:

 ![installed](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/9/c/9c31fa02e199052d91df87e77a0d45bc72365eac.png)

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [April 5, 2023, 1:00am UTC](https://discourse.processing.org/t/how-to-add-processing-library-external-library-i-wonder/41594/8 "2023-04-05T01:00:10Z")

</div>

@svan

Thank you for answer.

In conclusion, it can be solved by working with ‘Android Studio’.  
thank you. very thank you.
