简体   繁体   English

我们可以建立2个APK,一个用于调试,另一个用于测试

[英]Can we have built 2 APK one for debug and other for test

我想知道我是否可以拥有2个apk,一个正常apk是我在要编码的程序包中构建的,而其他我希望我可以使用测试包

While you can have a separate "test" flavor , it is not a very good approach. 虽然您可以使用单独的“测试” 样式 ,但这不是一个很好的方法。

Tests should run against the same code that will go into production. 测试应该针对将要投入生产的相同代码运行。 By having a separate "test" flavor, there will be a risk of divergence between "test" and "production" code. 通过具有单独的“测试”样式,将有在“测试”和“生产”代码之间产生差异的风险。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我们可以在没有源代码的情况下将 Debug build APK 转换为 release Build - can we convert Debug build APK to release Build without having source code 如果我们有原始列表,为什么我们可以更改不可修改的列表? - Why can we change the unmodifiable list if we have the original one? 有什么方法可以将我存储在一种方法中的输入值调用为我将为输出显示创建的另一种方法? - Is there any way we can call the input value that I have stored in one method to other which i will create for Output display 如何在对使用 SpringBoot 构建的本地服务器的 POST 请求上调试 404? - How can I debug a 404 on a POST request to the Server I have running on local which was built with SpringBoot? 测试class只能有一个构造函数 - Test class can only have one constructor 我们可以在其他地图中使用嵌套地图作为键吗? - can we have a nested map as key within other map? 我们可以有相互依赖的模型吗? - Can we have models who depends on each other? Android Studio 卡在 √ Built build\app\outputs\apk\debug\app-debug.apk。 在将 Flutter 应用程序构建到 android 设备中时 - Android Studio Stuck at √ Built build\app\outputs\apk\debug\app-debug.apk. while building flutter app into android device 我们可以根据一个列表进行排序吗? - Can we make the order of one list based on other? 我们可以在一台机器上安装多少个JVM? - How many JVM we can have in one machine?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM