解决方案 »
- android 4.0 以后 锁屏 再启动 activity的生命周期问题
- 类似微信朋友圈评论功能
- 买了本android应用开发揭秘关于游戏开发那章的问题
- 移植ntfs-3g到android
- android tab+listview+sqlite数据库,请教各位大神们!!!!
- windows下如何运行自己编译的android
- android 2.2 无法正确监听数据库问题
- 使用Fragment时总是卡死
- 新版百度地图的定位问题
- 新手求助!关于搭建android开发环境的问题
- Android播放rtsp实时视频延时
- 求助各位大神:Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
-keep class android.support.v4.** { *; }
-dontwarn android.support.v4.**
-keep class android.support.v7.** { *; }
-dontwarn android.support.v7.**
这样配置不就是忽略了v4和v7 了么?难道不对?
贴下我的配置设置 求大神帮助
# This is a configuration file for ProGuard.
# http://proguard.sourceforge.net/index.html#manual/usage.html-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-verbose
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/* # Optimization is turned off by default. Dex does not like code run
# through the ProGuard optimize and preverify steps (and performs some
# of these optimizations on its own).
-dontoptimize
# -dontpreverify
# Note that if you want to enable optimization, you cannot just
# include optimization flags in your own project configuration file;
# instead you will need to point to the
# "proguard-android-optimize.txt" file instead of this one from your
# project.properties file.-keepattributes *Annotation*
-keep public class com.google.vending.licensing.ILicensingService
-keep public class com.android.vending.licensing.ILicensingService# For native methods, see http://proguard.sourceforge.net/manual/examples.html#native
-keepclasseswithmembernames class * {
native <methods>;
}# keep setters in Views so that animations can still work.
# see http://proguard.sourceforge.net/manual/examples.html#beans
-keepclassmembers public class * extends android.view.View {
void set*(***);
*** get*();
}# We want to keep methods in Activity that could be used in the XML attribute onClick
-keepclassmembers class * extends android.app.Activity {
public void *(android.view.View);
}-keepclassmembers class * extends android.support.v4.app.Fragment {
*;
}# For enumeration classes, see http://proguard.sourceforge.net/manual/examples.html#enumerations
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}-keepclassmembers class **.R$* {
public static <fields>;
}
-keep class **.R$* {
*;
}
# The support library contains references to newer platform versions.
# Don't warn about those in case this app is linking against an older
# platform version. We know about them, and they are safe.
-dontwarn android.support.**
-dontwarn android.util.Xml.**
-dontwarn org.xmlpull.v1.XmlPullParser
-dontwarn org.xmlpull.v1.XmlSerializer
-keep class android.support.v4.** { *; }
-dontwarn android.support.v4.**
-keep class android.support.v7.** { *; }
-dontwarn android.support.v7.**
-dontwarn javax.activation.**
-dontwarn javax.security.**
-dontwarn java.awt.**
-libraryjars <java.home>/lib/rt.jar
-keep class javax.** {*;}
-keep class com.media.wlgjty.fragment.** {*;}
-keep class com.sun.** {*;}
-keep class myjava.** {*;}
-keep class org.apache.harmony.** {*;}
-keep public class Mail {*;}
-dontshrink
你可以加我QQ么 我跟你聊一下
这个是我外界导入的包,不属于第三方jar包吧?
我怎么取消对它的混淆?求解