java proguard_java 混淆jar包 proguard配置文件范例

-injars quyou_sdk.jar

-outjars quyou_sdk_out.jar

-libraryjars 'C:\Program Files\Java\jre6\lib\rt.jar'

-libraryjars

'F:\android\adt-bundle-windows_v2\sdk\platforms\android-19\android.jar'

-libraryjars

'F:\android\wokspace2\quyou_sdk_use_str\libs\alipaysdk.jar'

-libraryjars

'F:\android\wokspace2\quyou_sdk_use_str\libs\alipaysecsdk.jar'

-libraryjars

'F:\android\wokspace2\quyou_sdk_use_str\libs\alipayutdid.jar'

-libraryjars

'F:\android\wokspace2\quyou_sdk_use_str\libs\android-support-v13.jar'

-libraryjars

'F:\android\wokspace2\quyou_sdk_use_str\libs\volley.jar'

-dontshrink

-dontoptimize

-optimizations !code/simplification/arithmetic

-allowaccessmodification

-printmapping map\quyou_obfuscation.map

-repackageclasses ''

-keepattributes SourceFile,LineNumberTable,*Annotation*

-renamesourcefileattribute SourceFile

-dontpreverify

-dontnote

com.android.vending.licensing.ILicensingService

-dontwarn android.support.**

# Preserve all fundamental application classes.

-keep public class * extends android.app.Activity

-keep public class * extends android.app.Application

-keep public class * extends android.app.Service

-keep public class * extends

android.content.BroadcastReceiver

-keep public class * extends

android.content.ContentProvider

# Preserve all View implementations, their special context

constructors, and

# their setters.

-keep public class * extends android.view.View {

public

(android.content.Context);

public

(android.content.Context,android.util.AttributeSet);

public

(android.content.Context,android.util.AttributeSet,int);

public void

set*(...);

}

# Preserve all classes that have special context constructors,

and the

# constructors themselves.

-keepclasseswithmembers class * {

public

(android.content.Context,android.util.AttributeSet);

}

# Preserve all classes that have special context constructors,

and the

# constructors themselves.

-keepclasseswithmembers class * {

public

(android.content.Context,android.util.AttributeSet,int);

}

# Preserve the special fields of all Parcelable

implementations.

-keepclassmembers class * extends android.os.Parcelable

{

static

android.os.Parcelable$Creator CREATOR;

}

# Preserve static fields of inner classes of R classes that

might be accessed

# through introspection.

-keepclassmembers class **.R$* {

public static ;

}

# Preserve the required interface from the License

Verification Library

# (but don't nag the developer if the library is not used at

all).

-keep public interface

com.android.vending.licensing.ILicensingService

# Preserve the special static methods that are required in all

enumeration

# classes.

-keepclassmembers class * extends java.lang.Enum {

public static **[]

values();

public static **

valueOf(java.lang.String);

}

# Also keep - Serialization code. Keep all fields and methods

that are used for

# serialization.

-keepclassmembers class * extends java.io.Serializable {

static final long

serialVersionUID;

static final

java.io.ObjectStreamField[] serialPersistentFields;

private void

writeObject(java.io.ObjectOutputStream);

private void

readObject(java.io.ObjectInputStream);

java.lang.Object

writeReplace();

java.lang.Object

readResolve();

}

# Keep names - Native method names. Keep all native

class/method names.

-keepclasseswithmembers,allowshrinking class * {

native ;

}

-keep public class com.funity.youki.sdk.QuYouUserCenter { * ;

}

-keep public class com.funity.youki.sdk.inter.** { *; }

-------------------------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------------------

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值