Android:icon to multiple activities breaks build (works locally)

android

#1

Adding

android:icon="@android:drawable/ic_menu_share"

to an activity tag on manifest.xml breaks the build, it works when that line is removed.

this is in addition to the android:icon within application tag

I haven’t found another way to set the activity icon, so this is a big issue.

PS: works locally


#2

Hi @natalia-mp!

Sorry to hear about the issue. Can you please include a related build URL we could take a look at?


#3

@bitce

https://app.bitrise.io/build/9655093095c07e61


#4

Hello there! I think this issue is related to Japanese maybe language support.

pplication-label-ja:'Marco Polo DevW/ResourceType(12796): No known package when getting value for resource number 0x01080052

AndroidManifest.xml:507: error: ERROR getting ‘android:icon’ attribute: attribute value reference does not exist

I think this issue is similar to this: https://github.com/bitrise-io/steps-deploy-to-bitrise-io/issues/49#issuecomment-338255132


#5

fixed. can’t use “@android:drawable”. needed to use a drawable from the project.


#6

Hey I’m glad you fount the solution!