Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong string resource generation when using resourceOverlayDirectory with strings.xml #573

Closed
j-era opened this issue Jan 30, 2015 · 3 comments

Comments

@j-era
Copy link

j-era commented Jan 30, 2015

Encountered some strange behaviour with the maven-android-plugin v4.1.0 and string resources generation.
We have defined a resourceOverlayDirectory to override some resources in the applications original 'res' folder. The resourceOverlayDirectory contains a strings.xml file in the values directory. When we've build our apk with maven, the generated string resources file seems to point to the wrong string values, because wrong string values are placed on the views.
Is there something known what could cause this issue?

@Shusshu
Copy link
Member

Shusshu commented Feb 1, 2015

Maybe @xcolwell can say something about it even though he hasn't worked on AMP 4.x

Maybe related: #417

@j3nsm4n could you look deeper into the code and see if any adjustments needs to be made?

@xcolwell
Copy link

xcolwell commented Feb 2, 2015

@Shusshu I suggest trying the latest 3.x version if possible and seeing if the unwanted behavior happens there. I believe 4.x introduced a different behavior than 3.x with resource overlays.

jacobmattsson added a commit to jacobmattsson/maven-android-plugin that referenced this issue May 24, 2016
…erlays dirs were not properly configured
mosabua pushed a commit that referenced this issue May 25, 2016
@mosabua
Copy link
Member

mosabua commented May 25, 2016

Fixed with linked PR

@mosabua mosabua closed this as completed May 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants