I have an app that includes a wearing app. Everything works fine when checking debugging using a real device. I can create an apk album that packs apk from it. But only if there is only one taste in my application.
I want to support two versions of an application with different applications, but despite the fact that this compilation is error-free, in this case two release apks (one of each taste) do not combine the corresponding nose apks.
This is an important part of the build.gradle mobile app:
productFlavors { Trial { applicationId "com.example.myapp.trial" versionName "3.0.1" versionCode 301 } Full { applicationId "com.example.myapp" versionName "3.0.1" versionCode 301 } } } dependencies { compile 'com.google.android.gms:play-services:6.1.+@aar' wearApp project(':myWearApp') }
And here is this application for creating boot material for correspondence:
productFlavors { Trial { applicationId "com.example.myapp.trial" versionName "3.0.1" versionCode 301 } Full { applicationId "com.example.myapp" versionName "3.0.1" versionCode 301 } } } dependencies { compile 'com.google.android.support:wearable:1.0.0' compile 'com.google.android.gms:play-services-wearable:6.1.71' }
Any help would be appreciated. Thank you
android android-wear android-gradle
Miguel Sesma Dec 09 '14 at 19:42 2014-12-09 19:42
source share