Skip to content Skip to sidebar Skip to footer

Gradle + Android, Want To Overwrite /assets With Custom Folder In Buildflavor

In my current build scripts I have special /res/ and /assets folders that I copy over the working versions of the files at build time. In /assets/ is bundled data (sql and a text f

Solution 1:

You can define assets at the buildtype level or product flavor level by including appropriate folders in your src.

Build type resources override flavor resources which override main resources.

Post a Comment for "Gradle + Android, Want To Overwrite /assets With Custom Folder In Buildflavor"