android-variants

“is package not installed?” exception for project have different build variants [duplicate]

雨燕双飞 提交于 2019-12-11 05:37:06
问题 This question already has answers here : RuntimeException: Unable to instantiate application (12 answers) Closed 2 years ago . I have a question. When project is run, I rarely get fatal exception. I have two different android applications in the same project for different build variants. But their package name are different. In manifest file, my first application's package name is written. I rarely get fatal exception, when I run my second project. How can I fix this error? 06-15 10:58:19.104

Android Gradle: Install all build types on one device

女生的网名这么多〃 提交于 2019-12-06 05:37:16
问题 How do I configure my project to be able to install the debug version alongside the release version when using GCM, ContentProvider, AccountType? (without the use of flavors) I keep getting errors such as: INSTALL_FAILED_CONFLICTING_PROVIDER or INSTALL_FAILED_DUPLICATE_PERMISSION 回答1: Installing a debug apk and the release apk on the same device is tricky if you are only using build types and not flavors (Why Build types and not flavors) Most blog post are either outdated (talking about

Android Gradle: Install all build types on one device

旧时模样 提交于 2019-12-04 12:07:20
How do I configure my project to be able to install the debug version alongside the release version when using GCM, ContentProvider, AccountType? (without the use of flavors) I keep getting errors such as: INSTALL_FAILED_CONFLICTING_PROVIDER or INSTALL_FAILED_DUPLICATE_PERMISSION Benoit Installing a debug apk and the release apk on the same device is tricky if you are only using build types and not flavors ( Why Build types and not flavors ) Most blog post are either outdated (talking about packageName) or force you to use flavors because the solution they propose does not support