android 混淆异常,印象中貌似是引入金融级活体检测sdk,开启混淆后编译就报错

阿里云金融级活体检测给的混淆代码已经加上去了,但依旧报错:Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /Users/frankji/AndroidStudioProjects/com.aaa.bbb/app/build/outputs/mapping/release/missing_rules.txt.
编辑器给是生成了一份忽略的类名,加到混淆里确实就能正常编译了,但我不确定怎么引起的这个问题,有人遇到过相同的问题吗。

Please add these rules to your existing keep rules in order to suppress warnings.
This is generated automatically by the Android Gradle plugin.
-dontwarn cn.eid.mobile.opensdk.authapi.ReqParams
-dontwarn cn.eid.mobile.opensdk.authapi.StringResult
-dontwarn cn.eid.mobile.opensdk.authapi.TeIDAbilitiesTag
-dontwarn cn.eid.mobile.opensdk.authapi.TeIDAuthEngine
-dontwarn cn.eid.mobile.opensdk.authapi.TeIDInfo
-dontwarn cn.eid.mobile.opensdk.authapi.TeIDResultCode
-dontwarn cn.eid.mobile.opensdk.authapi.TeIDStatus
-dontwarn cn.eid.mobile.opensdk.authapi.TeIDStatusList
-dontwarn cn.eid.mobile.opensdk.authapi.TeIDType
-dontwarn cn.eid.mobile.opensdk.openapi.TeIDSignEngine
-dontwarn cn.eid.mobile.opensdk.openapi.req.ReqParams
-dontwarn cn.eid.mobile.opensdk.openapi.resp.StringResult
-dontwarn cn.eid.mobile.opensdk.openapi.resp.TeIDResultCode
-dontwarn com.dtf.face.sms.verify.DTFSMSFacade
-dontwarn com.sunmi.sunmiopenservice.SunmiOpenServiceWrapper
-dontwarn com.sunshinegood.SgReader
-dontwarn com.suoii.reader.Port
-dontwarn com.zkteco.zkmulticardreader.ZKMultiCardReader
-dontwarn javax.servlet.ServletOutputStream
-dontwarn javax.servlet.http.HttpServletRequest
-dontwarn javax.servlet.http.HttpServletResponse
-dontwarn javax.ws.rs.Consumes
-dontwarn javax.ws.rs.Produces
-dontwarn javax.ws.rs.RuntimeType
-dontwarn javax.ws.rs.WebApplicationException
-dontwarn javax.ws.rs.core.Configurable
-dontwarn javax.ws.rs.core.Configuration
-dontwarn javax.ws.rs.core.Context
-dontwarn javax.ws.rs.core.Feature
-dontwarn javax.ws.rs.core.FeatureContext
-dontwarn javax.ws.rs.core.MediaType
-dontwarn javax.ws.rs.core.MultivaluedMap
-dontwarn javax.ws.rs.core.Response
-dontwarn javax.ws.rs.core.StreamingOutput
-dontwarn javax.ws.rs.ext.ContextResolver
-dontwarn javax.ws.rs.ext.MessageBodyReader
-dontwarn javax.ws.rs.ext.MessageBodyWriter
-dontwarn javax.ws.rs.ext.Provider
-dontwarn javax.ws.rs.ext.Providers
-dontwarn org.apache.commons.lang3.builder.ToStringBuilder
-dontwarn org.glassfish.jersey.CommonProperties
-dontwarn org.glassfish.jersey.internal.spi.AutoDiscoverable
-dontwarn org.glassfish.jersey.internal.util.PropertiesHelper
-dontwarn org.springframework.core.ResolvableType
-dontwarn org.springframework.data.redis.serializer.RedisSerializer
-dontwarn org.springframework.data.redis.serializer.SerializationException
-dontwarn org.springframework.http.HttpHeaders
-dontwarn org.springframework.http.HttpInputMessage
-dontwarn org.springframework.http.HttpOutputMessage
-dontwarn org.springframework.http.MediaType
-dontwarn org.springframework.http.converter.AbstractHttpMessageConverter
-dontwarn org.springframework.http.converter.GenericHttpMessageConverter
-dontwarn org.springframework.http.converter.HttpMessageNotReadableException
-dontwarn org.springframework.http.converter.HttpMessageNotWritableException
-dontwarn org.springframework.messaging.Message
-dontwarn org.springframework.messaging.MessageHeaders
-dontwarn org.springframework.messaging.converter.AbstractMessageConverter
-dontwarn org.springframework.util.CollectionUtils
-dontwarn org.springframework.util.MimeType
-dontwarn org.springframework.validation.BindingResult
-dontwarn org.springframework.web.servlet.view.AbstractView
-dontwarn org.springframework.web.socket.sockjs.frame.AbstractSockJsMessageCodec

展开
收起
游客5q7sd2dhbjbdo 2025-11-29 18:20:04 16 分享 版权
0 条回答
写回答
取消 提交回答

大数据领域前沿技术分享与交流,这里不止有技术干货、学习心得、企业实践、社区活动,还有未来。

还有其他疑问?
咨询AI助理