【发布时间】:2014-12-31 01:40:53
【问题描述】:
我在尝试混淆我的 apk 时遇到问题 - 与 this SO question 中报告的问题相同。我为该问题应用了公认的答案,然后构建了我的 apk。
但是,当我运行我的应用程序时,它在显示第一个初始屏幕之前就崩溃了。
我该如何调试这个和/或我的 proguard-project.txt 文件中是否缺少任何内容??...
# To enable ProGuard in your project, edit project.properties
# to define the proguard.config property as described in that file.
#
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in ${sdk.dir}/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# 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 *;
#}
-dontwarn twitter4j.**
注意 - 我还在我的应用中使用 android-support-v4.jar 和 acra-4.5.0.jar 库。
【问题讨论】:
-
“它在显示第一个初始屏幕之前崩溃” - 堆栈跟踪?
-
如何通过 Eclipse 在我的设备上运行经过混淆的 apk?
标签: java android proguard obfuscation twitter4j