gradle - how to debug product flavor in android studio? -
i have 2 product flavor, free , pro.
the launcher activity both different.
but android studio expects launcher activity in androidmanifest.xml under src/main/.
gradle building both flovors correctly ide not able pick correct androidmanifest.xml respective product flavor src/free or src/pro.
this happening after choosing correct build variant freedebug or prodebug.
this post has answer want. [what product flavor android studio build default in build.gradle?
you can click in bottom left hand corner , open box called "build variants" select flavor (variant) wish work with.
Comments
Post a Comment