Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-16015

CLI: Android build fails if app icon is not named "appicon.png"

    Details

      Description

      There is a bug where if the app icon is not named "appicon.png", the build fails with the following error:

      [INFO]  Packaging application: /opt/android-sdk/build-tools/19.0.0/aapt "package" "-f" "-m" "-J" "/Users/chris/appc/workspace/testapp2/build/android/gen" "-M" "/Users/chris/appc/workspace/testapp2/build/android/AndroidManifest.xml" "-A" "/Users/chris/appc/workspace/testapp2/build/android/bin/assets" "-S" "/Users/chris/appc/workspace/testapp2/build/android/res" "-I" "/opt/android-sdk/platforms/android-14/android.jar" "-I" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/3.2.0/android/titanium.jar" "-F" "/Users/chris/appc/workspace/testapp2/build/android/bin/app.ap_"
      [ERROR] Failed to package application:
      [ERROR]   
      [ERROR] /Users/chris/appc/workspace/testapp2/build/android/AndroidManifest.xml:4: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/appicon').
      

      Nadav original found this bug and reported it here: http://www.appcelerator.com/blog/2013/12/3-2-0-rc-of-sdkstudio-now-available/.

      Nadav Hoze
      Posted December 14, 2013 @ 12:52 pm

      Actually I downloaded the new version of Studio and now it works fine.
      But now my project fails to build.
      It says Error: No resource found that matches the given name (at 'icon' with value '@drawable/appicon' event though I do not use appicon and my own icon in the tiapp.xml
      I changed the name to appicon and it works fine. but now the icons is titanium default.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                cbarber Chris Barber
                Reviewer:
                Allen Yeung
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-18073
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code