# I can't export signed and aligned pakage (what's wrong?)

**URL:** <https://discourse.processing.org/t/i-cant-export-signed-and-aligned-pakage-whats-wrong/29725>\
**Category:** Processing for Android\
**Created:** [April 29, 2021, 12:05pm UTC](https://discourse.processing.org/t/i-cant-export-signed-and-aligned-pakage-whats-wrong/29725 "2021-04-29T12:05:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dinoelectro](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@dinoelectro](https://discourse.processing.org/u/dinoelectro)\
**Post date:** [April 29, 2021, 12:05pm UTC](https://discourse.processing.org/t/i-cant-export-signed-and-aligned-pakage-whats-wrong/29725/1 "2021-04-29T12:05:13Z")

</div>

hello friends, again I appeal for your help …  
I have a problem I can compile and run my sketch on the Android device, but I cannot export the signed and aligned package, an error occurs when trying to export it.

 ![error](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/1/1ee96b306e2ecac0769381b4ec10b4cc3c48b933.png)

```auto
Error with package export.

```

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [April 30, 2021, 8:41pm UTC](https://discourse.processing.org/t/i-cant-export-signed-and-aligned-pakage-whats-wrong/29725/2 "2021-04-30T20:41:23Z")

</div>

Hi @dinoelectro ,

I redirect you to the previous threads on this forum about Android mode and package export, some of the links might be useful 😉 :

[https://discourse.processing.org/search?q=Error%20with%20package%20export](https://discourse.processing.org/search?q=Error%20with%20package%20export)

---

<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 30, 2021, 9:21pm UTC](https://discourse.processing.org/t/i-cant-export-signed-and-aligned-pakage-whats-wrong/29725/3 "2021-04-30T21:21:44Z")

</div>

> [@dinoelectro](#):
>
> again I appeal for your help

Might help if you showed us the error message.

---

<div class="post-metadata">

**Author:** ![dinoelectro](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@dinoelectro](https://discourse.processing.org/u/dinoelectro)\
**Post date:** [May 1, 2021, 9:24am UTC](https://discourse.processing.org/t/i-cant-export-signed-and-aligned-pakage-whats-wrong/29725/4 "2021-05-01T09:24:08Z")

</div>

I have all the icons in the folder, I have also modified the xml file and I don’t know what else I can do?

A few days ago it worked fine and I could export the package, now it no longer

 ![Sin título](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/2/28733e7e2ef0981054d1e40d9bac44fc2d47b473.png)

---

<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:** [May 1, 2021, 1:58pm UTC](https://discourse.processing.org/t/i-cant-export-signed-and-aligned-pakage-whats-wrong/29725/5 "2021-05-01T13:58:40Z")

</div>

Your error message states that the minSDK version should not be declared in the manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file. There may be other things wrong, but I would start there. It’s difficult to read the error message with a screen shot; if that doesn’t fix it try copy/pasting the error message into your response.

---

<div class="post-metadata">

**Author:** ![Rupesh\_Kumar](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/rupesh_kumar/32/12638_2.png) [@Rupesh\_Kumar](https://discourse.processing.org/u/Rupesh_Kumar)\
**Post date:** [May 1, 2021, 6:35pm UTC](https://discourse.processing.org/t/i-cant-export-signed-and-aligned-pakage-whats-wrong/29725/6 "2021-05-01T18:35:20Z")

</div>

Remove this line-  
`<uses-sdk android:minSdkVersion="17" android:targetSdkVersion="29"/>`  
in File -  
`/Documents/Processing/Sketch_Folder/AndroidManifest.xml`

After that, try signing the package again with “Export Android Project” option under the File menu.

Thanks,  
Rupesh

---

<div class="post-metadata">

**Author:** ![dinoelectro](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@dinoelectro](https://discourse.processing.org/u/dinoelectro)\
**Post date:** [May 2, 2021, 1:41pm UTC](https://discourse.processing.org/t/i-cant-export-signed-and-aligned-pakage-whats-wrong/29725/7 "2021-05-02T13:41:45Z")

</div>

Now I can export the signed and aligned package thanks to Rupesh\_Kumar 😁
