Search code examples
androidiostitaniumtitanium-mobile

Where is res/drawable/Icon.png located in Titanium Studio IDE?


I keep getting this error:

[ERROR] :  Failed to package application:
[ERROR] :  
[ERROR] :  res/drawable/Icon.png: Invalid file name: must contain only [a-z0-9_.]
[ERROR] Application Installer abnormal process termination. Process exit value was 1

I'm trying to located that icon.png so that I can rename it. After using trial and error renaming a lot of png's I give up trying to locate it. NOTE: I am using titanium 3.2.3GA. I am trying to run/install the app on an Android tablet (nexus 10). The app is cross platform though.

EDIT: Thanks to @Dragon, I found the file I was looking for. But after changing the name I get this new error:

[ERROR] :  Failed to package application:
[ERROR] :  
[ERROR] :  /Users/ebads/Desktop/workspace/MYPROJECT/build/android/AndroidManifest.xml:4: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/Icon').
[ERROR] Application Installer abnormal process termination. Process exit value was 1

I hate Titanium studio.

EDIT 2: I made a change in the xml, going to run and see if it works.


Solution

  • you can find it at

    Titanium_studio_workspace/YOUR_APP/build/android/res/drawable
    

    Just change the icon name from Icon.png to icon.png

    Hope it helps.