I'm trying to set up Google Analytics for my app. (having 4 custom
and more than a few
It works fine when i select the
which has the
(the package name used when generating the
). But, my other flavors have different applicationIds.
I followed the offical devguide
to set it up.
Error I get when any another build variant is selected in
Build Variants Tab
(which has a different
(package name) is as follows:
Explanation of Error Message:
Error:Execution failed for task
No matching client found for package name 'com.my.app.package.name.debug'
In the task name in the error message above
is my custom
is one of my
I understand the error and know the package name is different from what i used when generating the json, but that is what I'm trying to figure a way around.
resides in the
folder and hence i am not being able to separate them out for each product flavor by dropping them in the flavor specific source set folder.
- My custom
for debugging suffixes
(package name). Is there a way i can make it work with the
which has my release
(i.e. without the suffix
- Is there a way to have multiple product flavors configured in the same
file without using separate files and tasks to copy the required file to
folder. I know it can be done using
as mentioned in this post. Is there a simpler way to just have one file or pick right file based on gradle configuration?
- I see the
has the package name
. Can i add multiple package names manually to work for all build variants? If yes, how to do that? Could not find any instructions in documentations.