【发布时间】:2015-08-22 12:34:46
【问题描述】:
为了报告我的应用程序崩溃,请通过Android Studio Gradle Dependencies 以这种形式使用 Acra 库:
dependencies {
compile 'ch.acra:acra:4.6.2'
}
现在在 Bebug version 中它可以正常工作并返回崩溃报告,但是在导出应用程序的 Release version 后无法正常工作并在 logcat 中返回此错误:
Not adding buildConfig to log. Class Not found : " + className + ". Please configure 'buildConfigClass' in your ACRA config
然后我使用acra-4-6-2.jar 文件而不是dependencies 但仍然无法正常工作!
之前也看过this link,但对我没有帮助。
感谢您的关注
【问题讨论】:
标签: android android-gradle-plugin acra