# Processing Android debug mode

**URL:** <https://discourse.processing.org/t/processing-android-debug-mode/29094>\
**Category:** Processing for Android\
**Created:** [April 3, 2021, 3:55pm UTC](https://discourse.processing.org/t/processing-android-debug-mode/29094 "2021-04-03T15:55:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SNICKRS](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@SNICKRS](https://discourse.processing.org/u/SNICKRS)\
**Post date:** [April 3, 2021, 3:55pm UTC](https://discourse.processing.org/t/processing-android-debug-mode/29094/1 "2021-04-03T15:55:49Z")

</div>

Hello everyone, I am trying to export a processing game I made in android mode to google play. I am trying to upload the apk, but it keeps throwing an error that it’s a “debuggable” apk. I tried setting the debug value in the androidManifest file to false, but that doesn’t seem to work. How would I disable debugging so that when I export the apk google won’t throw this error?

---

<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:** [April 3, 2021, 5:17pm UTC](https://discourse.processing.org/t/processing-android-debug-mode/29094/2 "2021-04-03T17:17:09Z")

</div>

@SNICKRS ===  
have you created your apk using export signed package?

---

<div class="post-metadata">

**Author:** ![SNICKRS](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@SNICKRS](https://discourse.processing.org/u/SNICKRS)\
**Post date:** [April 4, 2021, 12:11am UTC](https://discourse.processing.org/t/processing-android-debug-mode/29094/3 "2021-04-04T00:11:09Z")

</div>

What was happening was there was an error in the androidmanifest file that processing generated. You’re not supposed to specify the minsdk version, or else it won’t compile. It worked when I deleted the android:minSdk version code. Also, I learned that you need to use the signed\_aligned version of the exported apk.

---

<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:** [April 5, 2021, 1:39pm UTC](https://discourse.processing.org/t/processing-android-debug-mode/29094/4 "2021-04-05T13:39:53Z")

</div>

@SNICKRS === can you precise what error is fired when you use minSdk (because minSDK is important for users); put here the console error message.

---

<div class="post-metadata">

**Author:** ![SNICKRS](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@SNICKRS](https://discourse.processing.org/u/SNICKRS)\
**Post date:** [April 9, 2021, 9:11pm UTC](https://discourse.processing.org/t/processing-android-debug-mode/29094/5 "2021-04-09T21:11:00Z")

</div>

I get an error with gradle in the console when trying to export with minSdk and that there was something wrong with the androidmanifest file.

---

<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:** [April 10, 2021, 3:45pm UTC](https://discourse.processing.org/t/processing-android-debug-mode/29094/6 "2021-04-10T15:45:01Z")

</div>

@SNICKRS === what error is fired by gradle? and put also here the Manifest you are using
