我想在使用模块的大型 android multidex 应用程序中使用 firebase性能监控。所以我将apply plugin
and添加dependencies
到我的 gradle 文件中。但是我的构建时间增加了太多。所以告诉我如何在调试版本中创建一个无操作版本。我的问题是我不想apply plugin
在调试和发布版本中使用 gradle 文件(因为它仍然是 BETA),只在 alpha 版本中。
问问题
906 次
2 回答
4
现在证明解决方案:
buildTypes
{
debug
{
manifestPlaceholders = [firebaseDisableMonitoring: true]
}
release
{
manifestPlaceholders = [firebaseDisableMonitoring: false]
}
}
于 2017-11-15T08:39:50.583 回答
0
您可以使用文档中的说明禁用性能监控插件的额外工作。
于 2017-08-02T18:47:46.053 回答