Hanife Kurnaz
Oct 10, 2023

--

If you're asking about copying the contents of files, you don't need to copy the entire content. You can have a default strings.xml file with common strings that apply to all flavors. This file should be placed in the main/res/values/ folder. For flavor-specific strings, create additional strings.xml files and place them in folders named after the specific flavor and resource qualifier. If you're asking for a shortcut to copy files from one flavor to another, you can write a Gradle script for that.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Hanife Kurnaz
Hanife Kurnaz

No responses yet

Write a response