Wear App and with custom build type with applicationIdSuffix

后端 未结 4 2004
天命终不由人
天命终不由人 2020-12-15 04:53

I have an app where I\'d like to add an Android Wear app extension. The main app has three build types (debug, beta and release). Beta builds have an applicationIdSuff

4条回答
  •  情深已故
    2020-12-15 05:40

    You can't do what you want; the build variant of a module isn't propagated to the builds of dependent modules on build. This is tracked in https://code.google.com/p/android/issues/detail?id=52962

    There's a facility to make one module depend on a specific variant of another one, as documented in http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Library-Publication, but I don't think this mechanism can be extended to do differential packaging of Wear apps.

提交回复
热议问题