Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Andorid proguard-rules error(Android 混淆时报错) #43

Open
D-Rusty opened this issue Oct 26, 2018 · 0 comments
Open

Andorid proguard-rules error(Android 混淆时报错) #43

D-Rusty opened this issue Oct 26, 2018 · 0 comments

Comments

@D-Rusty
Copy link

D-Rusty commented Oct 26, 2018

我使用的是;com.madgag.spongycastle:core:$1.58.0.0
混淆时的配置为:
-keep class org.spongycastle.crypto.* {;}
-keep class org.spongycastle.crypto.agreement.** {
;}
-keep class org.spongycastle.crypto.digests.* {;}
-keep class org.spongycastle.crypto.ec.
{;}
-keep class org.spongycastle.crypto.encodings.
{;}
-keep class org.spongycastle.crypto.engines.
{;}
-keep class org.spongycastle.crypto.macs.
{;}
-keep class org.spongycastle.crypto.modes.
{;}
-keep class org.spongycastle.crypto.paddings.
{;}
-keep class org.spongycastle.crypto.params.
{;}
-keep class org.spongycastle.crypto.prng.
{;}
-keep class org.spongycastle.crypto.signers.
{;}
-keep class org.spongycastle.pqc.crypto.mceliece.McElieceCCA2PrivateKeyParameters.
{;}
-keep class org.spongycastle.jcajce.provider.symmetric.** {
;}
-keep class org.spongycastle.jcajce.**{*;}

-keep class org.spongycastle.jcajce.provider.asymmetric.* {;}
-keep class org.spongycastle.jcajce.provider.asymmetric.util.
{;}
-keep class org.spongycastle.jcajce.provider.asymmetric.dh.
{;}
-keep class org.spongycastle.jcajce.provider.asymmetric.ec.
{*;}

-keep class org.spongycastle.jcajce.provider.digest.** {;}
-keep class org.spongycastle.jcajce.provider.keystore.** {
;}
-keep class org.spongycastle.jcajce.provider.symmetric.** {;}
-keep class org.spongycastle.pqc.jcajce.provider.mceliece.BCMcElieceCCA2PrivateKey.**{
;}

出错信息如下,请问该怎样解决,谢谢。
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant