android - Handheld multi flavor app with single wear project -


my project working fine when had simple handheld app 1 wear app.

now, i've introduced 3 flavors handheld app , kept same single flavor wear app.

the problem release builds not being pushed wearable.

my project looks this:

smartphone's build.gradle:

apply plugin: 'com.android.application' apply plugin: 'com.google.gms.google-services'  android {     compilesdkversion 23     buildtoolsversion "23.0.2"      defaultconfig {         minsdkversion 14         targetsdkversion 23         versioncode 8         versionname "3.1.0"         applicationid "br.com.test"     }      signingconfigs {         ...     }      buildtypes {         release {             minifyenabled false             proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro'             signingconfig = android.signingconfigs.release         }          debug {             applicationidsuffix ".debug"             versionnamesuffix "-debug"             zipalignenabled true         }     }      productflavors {         generic {             applicationid "br.com.generic"         }         abc {             applicationid "br.com.teste.abc"         }         company {             applicationid "br.com.test.company"         }     } }  dependencies {     genericwearapp project(path:':wear', configuration: 'genericrelease')     abcwearapp project(path:':wear', configuration: 'abcrelease')     companywearapp project(path:':wear', configuration: 'companyrelease')      compile project(':common') } 

and wear's build.gradle:

apply plugin: 'com.android.application'  android {     compilesdkversion 23     buildtoolsversion "23.0.2"     publishnondefault true      defaultconfig {         minsdkversion 14         targetsdkversion 23         versioncode 8         versionname "3.1.0"         applicationid "br.com.test"     }      buildtypes {         release {             minifyenabled false             proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro'         }          debug {             applicationidsuffix ".debug"             versionnamesuffix "-debug"             zipalignenabled true         }     }      productflavors {         generic {             applicationid "br.com.generic"         }         abc {             applicationid "br.com.teste.abc"         }         company {             applicationid "br.com.test.company"         }     } }  dependencies {     compile project(':common') } 

why wearable not gets app? tips?

i matter of tricky details... repo offers nice example , enough me solve this:

https://github.com/vngrs/pomopomoandroid/


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -