Android build process - IOError: [Errno 2] No such file or directory

You must Login before you can answer or comment on any questions.

If you get the error message IOError: [Errno 2] No such file or directory for your icon, follow these steps.

  1. Open the generated AndroidManifest.xml it should be in your build/android folder.
  2. Find this line: <application android:debuggable="false" android:name="YourApp" android:label="yourapp" android:icon="@drawable/appicon"> The android:icon has the path to where your icon should be located.
  3. The drawable folder should be in build\android\res\drawable
  4. Copy a png with the same name as written in the AndroidManifest.xml into the folder.

That's it! PS. Note that / (slash) is the folder separator on Linux and Mac and \ (back-slash) is the separator on Windows.

PPS. An answer for this would be a fix to the python build script

  • Application type: mobile
  • Titanium SDK: 2.1.0.GA
  • Device: Android emulator and physical device model
  • Host Operating System: Windows Vista
  • Titanium Studio: 2.1.0.201206251749
— asked 10 months ago by Jon Ronnenberg
1 Comment
  • It would be great to get a non-hackish fix for this

    — commented 6 weeks ago by Tony Amoyal

Your Answer

Think you can help? Login to answer this question!