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

Missing classes detected while running R8 #31

Open
goodibunakov opened this issue Feb 10, 2025 · 1 comment
Open

Missing classes detected while running R8 #31

goodibunakov opened this issue Feb 10, 2025 · 1 comment

Comments

@goodibunakov
Copy link

goodibunakov commented Feb 10, 2025

I added rules from doc, but...

Missing class org.ietf.jgss.GSSContext (referenced from: byte[] android.org.apache.http.impl.auth.GGSSchemeBase.generateGSSToken(byte[], org.ietf.jgss.Oid, java.lang.String, android.org.apache.http.auth.Credentials))

Missing class org.ietf.jgss.GSSCredential (referenced from: org.ietf.jgss.GSSCredential android.org.apache.http.auth.KerberosCredentials.gssCredential and 3 other contexts)

Missing class org.ietf.jgss.GSSException (referenced from: android.org.apache.http.Header android.org.apache.http.impl.auth.GGSSchemeBase.authenticate(android.org.apache.http.auth.Credentials, android.org.apache.http.HttpRequest, android.org.apache.http.protocol.HttpContext) and 1 other context)

Missing class org.ietf.jgss.GSSManager (referenced from: byte[] android.org.apache.http.impl.auth.GGSSchemeBase.generateGSSToken(byte[], org.ietf.jgss.Oid, java.lang.String, android.org.apache.http.auth.Credentials) and 1 other context)

Missing class org.ietf.jgss.GSSName (referenced from: byte[] android.org.apache.http.impl.auth.GGSSchemeBase.generateGSSToken(byte[], org.ietf.jgss.Oid, java.lang.String, android.org.apache.http.auth.Credentials))

Missing class org.ietf.jgss.Oid (referenced from: byte[] android.org.apache.http.impl.auth.GGSSchemeBase.generateGSSToken(byte[], org.ietf.jgss.Oid, java.lang.String) and 4 other contexts)
@goodibunakov
Copy link
Author

goodibunakov commented Feb 10, 2025

does not helped:

-keep class org.ietf.jgss.** { *;}
-keep interface org.ietf.jgss.** { *;}
-keep class com.sun.security.jgss.** { *;}
-keep interface com.sun.security.jgss.** { *;}
-keep class sun.security.jgss.** { *;}
-keep interface sun.security.jgss.** { *;}
-keep class * extends org.ietf.jgss.GSSContext
-keep interface * extends org.ietf.jgss.GSSContext

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