Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Error code: 256
Started by pickerel Nov 03 2019 07:32 PM

1 reply to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

pickerel

[GLOBAL: userInfoPane.html]
pickerel
  • Contributor

  • 144 posts
  • Corona SDK

When I build an android app with Corona Simulator, I got the error:
 
Execution failed for task ':App:mergeReleaseResources'.
                    > [string/app_name] /private/var/folders/3c/v9h9m8gs1f7bz5zhrwjmrhdm0000gn/T/CLtmpy8dPnT/template/app/src/main/res/values/strings.xml [string/app_name] /private/var/folders/3c/v9h9m8gs1f7bz5zhrwjmrhdm0000gn/T/CLtmpy8dPnT/template/app/build/generated/corona_icons/values/strings.xml: Error: Duplicate resources
 
 
If I delete the AndroidResources/res/values folder , it will build successfully.
 
If it's the first building for the app, it will build successfully too.


 


[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,300 posts
  • Enterprise

You don't state your own strings.xml file in that folder. There should be a values.xml (or value.xml) and that holds some UI/Icon related content. Things that go in strings.xml are done through build.settings. See:

 

http://www.natchezshop.com/guide/distribution/advancedSettings/index.html#android-directives

 

Rob




[topic_controls]
[/topic_controls]