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

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 with package export.

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 :wink: :

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

1 Like

Might help if you showed us the error message.

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

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.

1 Like

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

1 Like

Now I can export the signed and aligned package thanks to Rupesh_Kumar :grin:

1 Like