I am trying to use the same application icon for all applications obtained from the library project.
I thought it would be as simple as implementing the advice provided in this thread , but unfortunately it does not work.
What I did is add the following line to the <manifest> in the AndroidManifest.xml application:
xmlns:mylib="http://schemas.android.com/apk/res/com.example.baseapp"
And a few lines in the same AndroidManifest.xml file, change typical @drawable/icon to:
<application android:icon="@mylib:drawable/icon">
But that will not work!
Instead, Eclipse tells me that:
error: Error: the resource was not found that matches the specified name (in the "icon" with value '@omlib: drawable / icon').
Apparently, the links to the drawings from the XML layout and the XML manifest do not match.
How to link icon from library project in AndroidManifest.xml application?
an00b
source share