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

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

Hi @natalia-mp!

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

@bitce

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

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

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

1 Like

Hey I’m glad you fount the solution!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.