Fixed
Status Update
Comments
uc...@google.com <uc...@google.com> #2
We use build flavours heavily with a lot of common code. The refactoring support in AS is really good but it continually catches us out when it doesn't work across all flavours in a project. It's a big gap for serious product development.
rp...@google.com <rp...@google.com>
lu...@google.com <lu...@google.com>
lu...@google.com <lu...@google.com> #3
We at my company need this same feature. We have a lot of white labels and need refactor the same class across flavours. :(
Description
all required information.
Android Studio 3.2 Canary 16
Build #AI-181.4668.68.32.4802120, built on May 24, 2018
JRE: 1.8.0_152-release-1136-b03 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 7 6.1
Version of Gradle Plugin: 3.2.0-alpha16
Version of Gradle: 4.6
Steps to Reproduce:
1. Put cursor in a string literal
2. Alt-Enter
3. Extract string resource
4. Choose a name that already exists
5. Complete extraction
Result: you now have a build error due to duplicate resources.
Expected: the extract string action should produce an error with a descriptive error message if you attempt to extract a resource giving it a name that already exists.