Unique icon while exporting signed pakage[Android]


#1

I got this error while exporting my package:[Image below]

process
I know this error but don’t know how to solve it. Please tell me step-by-step how to do this!:no_mouth::thinking::thinking:


#2

@manhnt===
full set means: you have to “decline” your icon for ldpi, mdpi, hdpi, Xhdpi, xxhdpi, xxxhdpi knowing that mdpi is the “medium” value, that is 160dpi, and that as for now you can forget ldpi, so = 160, 240, 320 , 480, 640dpi; you create them, go to the icons folder and put your icons instead of the “standard” processing ones, but using their names…


#3

Thanks for your answer, but it doesn’t still work. In my case, I created a root folder in my sketch one called “icons”

Then, I created ldpi, mdpi, Xhdpi,… folder and put in it an icon for each size supported
detail
Anything went wrong?


#4

Check these links:

https://forum.processing.org/two/discussion/comment/69024/#Comment_69024

https://forum.processing.org/two/discussion/21061/how-can-i-set-game-icon-which-is-app-icon

https://forum.processing.org/two/discussion/comment/106489/#Comment_106489

https://forum.processing.org/two/discussion/comment/73420/#Comment_73420

Kf


#5

@manhnt===

as i said: put the icons inside the icons folder from P5.


#6

@akenaton===
It didn’t work as well. I will tell you more detail about my problem. Please tell me how to do that(I’m a processing beginner)
Here is my target Sketch folder(SmartSnakesCombine)


As you can see, the right is “icons” folder-the folder you want me to create.
In the “icons” file is icons supporting different size!
I listed them as: ldpi,hdpi,mdpi,xhdpi,xxhdpi and xxxhdpi
All of them are .png format
My Androidmanifiest file:

`<?xml version="1.0" encoding="UTF-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.darkyprod.smartsnakes">
    <uses-sdk android:minSdkVersion="17" android:targetSdkVersion="26"/>
    <application android:icon="@drawable/icon" android:label="">
        <activity android:name=".MainActivity" android:theme="@style/Theme.AppCompat.Light.NoActionBar.FullScreen">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
    </application>
</manifest>
`

:thinking::thinking:


#7

@manhnt===

i have not told you to create an icon folder ! - i have told you to go to the icon folder created by P5 IN THE MODE FOLDER /ANDROID (make a copy from this icons folder) with the default icons: then you put your icons with the Same name than the default icons, that s all…


#8

Sorry for my misunderstanding. Now , it work perfectly::smiling_face_with_three_hearts::no_mouth: