Well, as I continue to attempt to build OmniRom 5 for the Samsung Galaxy S4, T-Mobile Variant (JFLTETMO SGH-M919), I encountered this error:

[CODE]
frameworks/base/packages/SystemUI/AndroidManifest.xml:328: error: Error: No resource found that matches the given name (at ‘icon’ with value ‘@*android:drawable/ic_shortcut_action_theme_switch’).

frameworks/base/packages/SystemUI/AndroidManifest.xml:340: error: Error: No resource found that matches the given name (at ‘icon’ with value ‘@*android:drawable/ic_shortcut_action_theme_switch’).

make: *** [/home/alaskalinuxuser/Documents/projects/phones/compile/omni5/out/target/common/obj/APPS/SystemUI_intermediates/src/R.stamp] Error 1
make: *** Waiting for unfinished jobs….
[/CODE]

After some review, I realized that the icon called for in frameworks/base/packages/SystemUI/AndroidManifest.xml:328 and 340 was not in the res/drawable folder. So I chose a different icon in that folder and edited both of those lines to say:

android:icon=”@*android:drawable/ic_sysbar_theme_switch”

That will allow it to continue, but it may look funny in real life, depending on the icon missing and the replacement that was chosen. We will have to wait and see on that once it builds! You could also look around online or in other source to find an appropriate icon to put in it’s place, but that could turn into a really time consuming task, depending on what you are looking for.

Linux – Keep it simple.

Leave a Reply

Your email address will not be published. Required fields are marked *