Ich habe meine apk verschleiert, aber die Dateigröße ist nur von 12MB bis 10,5 MB reduziert.Android - Wie überprüfen Sie, ob die Proguard-Verschleierung funktioniert hat?
Der Grund, warum es nur eine relativ kleine Reduzierung ist, kann sein, weil meine App ein paar große Bibliotheken verwendet, aber gibt es eine Möglichkeit, den Grad der Verschleierung zu überprüfen, die durchgeführt wurde?
Nur für den Fall, das ist meine proguard-project.txt Datei ...
# 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.**
... und die Bibliotheken Ich verwende sind android-support-v4.jar
, acra-4.5.0.jar
und twitter4j-core-4.0.2.jar
.
akzeptieren es verschleiert worden, wenn es Ihre Anforderung gelöst .. – Elltz
Ich muss es zuerst ausprobieren! Sobald ich haben, werden Sie die ersten sein, zu wissen ... –