Software Archive
Read-only legacy content
17061 Discussions

buldings error

luca_f_2
Beginner
596 Views

hi, if i select an icon in "launch icon and splash screens" the builds go in error with this message:
Error: No resource found that matches the given name (at 'icon' with value '@drawable/icon')
help please!!!

0 Kudos
7 Replies
Hamilton_Tenório_da_
Valued Contributor I
596 Views

@Luca> Did you supply all icons?

0 Kudos
luca_f_2
Beginner
596 Views

Hamilton Tenório da Silva wrote:

@Luca> Did you supply all icons?

yes, the error is the same for only one icon or for all icons

0 Kudos
Hamilton_Tenório_da_
Valued Contributor I
596 Views

@Luca> what is icon path and name? Is there a special character? Do you tried to change the name?

0 Kudos
luca_f_2
Beginner
596 Views

Hamilton Tenório da Silva wrote:

@Luca> what is icon path and name? Is there a special character? Do you tried to change the name?

 

this is a part of the intelxdk.config.android.xml

 

<icon platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/babys_room-36.png" density="ldpi" width="36" height="36"/>
<icon platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/babys_room-48.png" density="mdpi" width="48" height="48"/>
<icon platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/babys_room-72.png" density="hdpi" width="72" height="72"/>
<icon platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/babys_room-96.png" density="xhdpi" width="96" height="96"/>
<splash platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/babys_room-320.png" density="ldpi" width="320" height="426" orientation="portrait"/>
<splash platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/babys_room-320x470.png" density="mdpi" width="320" height="470" orientation="portrait"/>
<splash platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/babys_room-480x640.png" density="hdpi" width="480" height="640" orientation="portrait"/>
<splash platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/babys_room-720.png" density="xhdpi" width="720" height="960" orientation="portrait"/>
<splash platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/s426x320.png" density="ldpi" width="426" height="320" orientation="landscape"/>
<splash platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/s470x320.png" density="mdpi" width="470" height="320" orientation="landscape"/>
<splash platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/s640x480.png" density="hdpi" width="640" height="480" orientation="landscape"/>
<splash platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/s960x720.png" density="xhdpi" width="960" height="720" orientation="landscape"/>

 

0 Kudos
luca_f_2
Beginner
596 Views

luca f. wrote:

Quote:

Hamilton Tenório da Silva wrote:

 

@Luca> what is icon path and name? Is there a special character? Do you tried to change the name?

 

 

 

this is a part of the intelxdk.config.android.xml

 

<icon platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/babys_room-36.png" density="ldpi" width="36" height="36"/>
<icon platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/babys_room-48.png" density="mdpi" width="48" height="48"/>
<icon platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/babys_room-72.png" density="hdpi" width="72" height="72"/>
<icon platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/babys_room-96.png" density="xhdpi" width="96" height="96"/>
<splash platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/babys_room-320.png" density="ldpi" width="320" height="426" orientation="portrait"/>
<splash platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/babys_room-320x470.png" density="mdpi" width="320" height="470" orientation="portrait"/>
<splash platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/babys_room-480x640.png" density="hdpi" width="480" height="640" orientation="portrait"/>
<splash platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/babys_room-720.png" density="xhdpi" width="720" height="960" orientation="portrait"/>
<splash platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/s426x320.png" density="ldpi" width="426" height="320" orientation="landscape"/>
<splash platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/s470x320.png" density="mdpi" width="470" height="320" orientation="landscape"/>
<splash platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/s640x480.png" density="hdpi" width="640" height="480" orientation="landscape"/>
<splash platform="android" src="/C/Program Files (x86)/Zend/Apache2/htdocs/bbaby/themes/images/s960x720.png" density="xhdpi" width="960" height="720" orientation="landscape"/>

 

 

SOLVED: the problem was the path ..../Program Files (x86)/....

0 Kudos
PaulF_IntelCorp
Employee
596 Views

Luca -- did you force the Intel XDK to install in your Program Files directory? That is not a good place for it, you will have permission problems if it is installed there. It is better to let it install in the default location, which will be in %LocalAppData% folder in your user directory. Then there will be no permission problems.

0 Kudos
Reginaldo_P_
Beginner
596 Views

Yes... I was in the same trouble. Just changed my projects for Documents folder and solved the problem.

0 Kudos
Reply