小编Raf*_*ael的帖子

Google Play控制台报告因未发布的应用程序崩溃而崩溃

我想分享一下我正在分析Google Play控制台上的新功能并尝试为其找到解决方案的情况.

正如你们许多人可能已经知道的那样,Google已经在Google Play游戏机上发布了更新并推出了Android vitals.其中一个很好的特点是,现在会话ANR和Crashes显示从用户选择自动共享使用和诊断数据的Android设备收集的所有ANR和崩溃(在手机首次设置期间).

但是,我看到未发布的应用程序的崩溃报告.我的意思是,来自尚未发布的开发人员版本.此外,此崩溃报告来自使用android-debug密钥签名的应用程序,而不是我的生产密钥.我查看了可用的文档,但我找不到有关这些报告的过滤的详细信息.

在没有验证签名的情况下使用任何收入数据对我来说似乎有害和错误,因为任何人都可以简单地编写一个简短的代码并开始使用大量的虚拟堆栈跟踪充斥特定的应用程序包名称.

你知道这是否是这个新工具的正常行为?

crash-reports google-play google-console-developer

34
推荐指数
1
解决办法
4693
查看次数

将Android Studio的Gradle插件升级到3.0.1并将Gradle升级到4.1后,无法复制配置依赖项

我曾经使用这个简单的gradle任务将'compile'依赖项复制到特定文件夹:

task copyLibs(type: Copy) {
    from configurations.compile
    into "$project.rootDir/reports/libs/"
}
Run Code Online (Sandbox Code Playgroud)

但是在使用gradle plugin 3.0.1 for Android Studio和Gradle工具升级到4.1后,它刚刚升级我的Android项目后停止工作.由于https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html#new_configurations现在弃用了依赖配置'compile',我将其更改为'implementation'.但是,我无法使用我的copyLibs任务,因为根据Gradle构建错误输出不允许直接解析配置'implementation':

$ ./gradlew.bat clean build

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:copyLibs'.
> Resolving configuration 'implementation' directly is not allowed

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s …
Run Code Online (Sandbox Code Playgroud)

android android-studio build.gradle android-gradle-plugin gradle-plugin

26
推荐指数
5
解决办法
8916
查看次数