# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
# -keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
# }
# Uncomment this to preserve the line number information for
# debugging stack traces.
# -keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
# -renamesourcefileattribute SourceFile
2条答案
按热度按时间fquxozlt1#
将此行添加到proguard-project.txt文件中。
https://www.guardsquare.com/en/products/proguard/manual/usage
8e2ybdfx2#
创建新的android项目时,它会告诉您哪些行可能需要取消注解:
所以,你应该考虑一下:
但是,请注意,出于某种原因,firebase crashlytics团队告诉我,这条线路可能会干扰他们的服务:
因此,如果使用它,您可能看不到堆栈跟踪的良好信息。