我在gradle文件中使用了外部库。
implementation group: 'org.samba.jcifs', name: 'jcifs', version: '1.3.3'
当我运行该应用程序时,它运行良好。但是,当我构建apk文件时,出现了错误,无法找到对其他类的引用。我也在Android gradle中使用“ Proguard”,因此我可以尽可能缩小应用程序的大小。当我尝试构建应用程序时,它给了我这个错误。我的项目中没有使用这些类。那么我用的那个我没有在这里列出。我想知道这个错误是否告诉我删除这些类,以便最终的apk文件更小。
jcifs.http.NetworkExplorer: can't find superclass or interface javax.servlet.http.HttpServlet
jcifs.http.NtlmHttpFilter: can't find superclass or interface javax.servlet.Filter
jcifs.http.NtlmHttpServletRequest: can't find superclass or interface javax.servlet.http.HttpServletRequestWrapper
jcifs.http.NtlmServlet: can't find superclass or interface javax.servlet.http.HttpServlet
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServlet
jcifs.http.NetworkExplorer: can't find referenced method 'java.util.Enumeration getInitParameterNames()' in program class jcifs.http.NetworkExplorer
jcifs.http.NetworkExplorer: can't find referenced method 'java.lang.String getInitParameter(java.lang.String)' in program class jcifs.http.NetworkExplorer
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.ServletException
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.ServletOutputStream
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpSession
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpSession
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServlet
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.ServletOutputStream
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpSession
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.ServletOutputStream
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NetworkExplorer: can't find referenced class javax.servlet.http.HttpSession
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.FilterConfig
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.FilterChain
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.http.HttpSession
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.Filter
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.ServletException
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.FilterConfig
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.FilterChain
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.http.HttpSession
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.FilterConfig
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.ServletRequest
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.ServletResponse
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.FilterChain
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.ServletRequest
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.ServletResponse
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.FilterChain
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.http.HttpSession
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NtlmHttpFilter: can't find referenced class javax.servlet.FilterConfig
jcifs.http.NtlmHttpServletRequest: can't find referenced class javax.servlet.http.HttpServletRequestWrapper
jcifs.http.NtlmHttpServletRequest: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NtlmServlet: can't find referenced class javax.servlet.http.HttpServlet
jcifs.http.NtlmServlet: can't find referenced class javax.servlet.ServletConfig
jcifs.http.NtlmServlet: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NtlmServlet: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NtlmServlet: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NtlmServlet: can't find referenced class javax.servlet.http.HttpSession
jcifs.http.NtlmServlet: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NtlmServlet: can't find referenced class javax.servlet.http.HttpSession
jcifs.http.NtlmServlet: can't find referenced class javax.servlet.http.HttpServlet
jcifs.http.NtlmServlet: can't find referenced class javax.servlet.ServletException
jcifs.http.NtlmServlet: can't find referenced class javax.servlet.ServletConfig
jcifs.http.NtlmServlet: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NtlmServlet: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NtlmServlet: can't find referenced class javax.servlet.http.HttpSession
jcifs.http.NtlmServlet: can't find referenced class javax.servlet.ServletConfig
jcifs.http.NtlmServlet: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NtlmServlet: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NtlmServlet: can't find referenced class javax.servlet.http.HttpSession
jcifs.http.NtlmServlet: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NtlmServlet: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NtlmSsp: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NtlmSsp: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NtlmSsp: can't find referenced class javax.servlet.ServletException
jcifs.http.NtlmSsp: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NtlmSsp: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NtlmSsp: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NtlmSsp: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NtlmSsp: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NtlmSsp: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NtlmSsp: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NtlmSsp: can't find referenced class javax.servlet.http.HttpServletResponse
jcifs.http.NtlmSsp: can't find referenced class javax.servlet.http.HttpServletRequest
jcifs.http.NtlmSsp: can't find referenced class javax.servlet.http.HttpServletResponse
there were 137 unresolved references to classes or interfaces.
there were 2 unresolved references to program class members.
Exception while processing task java.io.IOException: Please correct the above warnings first.