# OscP5 not working after exporting to apk processing android

**URL:** <https://discourse.processing.org/t/oscp5-not-working-after-exporting-to-apk-processing-android/21614>\
**Category:** Processing for Android\
**Created:** [June 6, 2020, 5:19am UTC](https://discourse.processing.org/t/oscp5-not-working-after-exporting-to-apk-processing-android/21614 "2020-06-06T05:19:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Why\_I\_Use\_Processing](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/why_i_use_processing/32/9558_2.png) [@Why\_I\_Use\_Processing](https://discourse.processing.org/u/Why_I_Use_Processing)\
**Post date:** [June 6, 2020, 5:19am UTC](https://discourse.processing.org/t/oscp5-not-working-after-exporting-to-apk-processing-android/21614/1 "2020-06-06T05:19:27Z")

</div>

My project was working fine until I exported it and installed it on my android phone.  
The previewer did its part correctly, but the exported app was not doing all the connection stuff…

---

<div class="post-metadata">

**Author:** ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)\
**Post date:** [June 6, 2020, 5:54am UTC](https://discourse.processing.org/t/oscp5-not-working-after-exporting-to-apk-processing-android/21614/2 "2020-06-06T05:54:48Z")

</div>

What does the code do?  
Are you making a connection with another device?  
If so did you give the “CHANGE WIFI MULTICAST STATE” permission?

---

<div class="post-metadata">

**Author:** ![akenaton](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@akenaton](https://discourse.processing.org/u/akenaton)\
**Post date:** [June 6, 2020, 7:59am UTC](https://discourse.processing.org/t/oscp5-not-working-after-exporting-to-apk-processing-android/21614/3 "2020-06-06T07:59:42Z")

</div>

@Why_I_Use_Processing ===

- Can you explain better what you have done?
- Technical infos about the os running on your phone? Are you using APDE or P5?
- What do you mean by connection stuff?
- Put some relevant part of your code

---

<div class="post-metadata">

**Author:** ![Why\_I\_Use\_Processing](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/why_i_use_processing/32/9558_2.png) [@Why\_I\_Use\_Processing](https://discourse.processing.org/u/Why_I_Use_Processing)\
**Post date:** [June 7, 2020, 6:36am UTC](https://discourse.processing.org/t/oscp5-not-working-after-exporting-to-apk-processing-android/21614/4 "2020-06-07T06:36:15Z")

</div>

Ok I solved the problem.  
I was using APDE for your information on my android phone and I just forgot ask for network access permission that was already given to the APDE’s sketch preview but not to the exported app…
