简体   繁体   English

Android Proguard使用获取登录APK错误

[英]Android Proguard using getting signin apk Errors

Why this error comming,how to solve this,,anyone give default proguard rules have send me.. 为什么会出现此错误,如何解决此问题,有人给我默认的proguard规则已寄给我。

Note: there were 3 references to unknown classes. 注意:有3个对未知类的引用。 You should check your configuration for typos. 您应该检查配置是否有错字。 ( http://proguard.sourceforge.net/manual/troubleshooting.html#unknownclass ) Note: there were 22 unkept descriptor classes in kept class members. http://proguard.sourceforge.net/manual/troubleshooting.html#unknownclass )注意:保留的类成员中有22个未定义的描述符类。 You should consider explicitly keeping the mentioned classes (using '-keep'). 您应该考虑显式地保留提及的类(使用'-keep')。 ( http://proguard.sourceforge.net/manual/troubleshooting.html#descriptorclass ) Warning: there were 2 unresolved references to program class members. http://proguard.sourceforge.net/manual/troubleshooting.html#descriptorclass )警告:有2个未解析的对程序类成员的引用。 Your input classes appear to be inconsistent. 您的输入类似乎不一致。 You may need to recompile the code. 您可能需要重新编译代码。 ( http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedprogramclassmember ) Warning: Exception while processing task java.io.IOException: Please correct the above warnings first. http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedprogramclassmember )警告:处理任务java.io.IOException时发生异常:请首先更正以上警告。 Thread(Tasks limiter_1): destruction :app:transformClassesAndResourcesWithProguardForRelease FAILED 线程(任务限制器_1):销毁:app:transformClassesAndResourcesWithProguardForRelease失败

FAILURE: Build failed with an exception. 失败:构建失败,发生异常。

  • What went wrong: Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'. 出了什么问题:任务':app:transformClassesAndResourcesWithProguardForRelease'的执行失败。

    Job failed, see logs for details 作业失败,请参阅日志以获取详细信息

  • Try: Run with --stacktrace option to get the stack trace. 尝试:使用--stacktrace选项运行以获取堆栈跟踪。 Run with --info or --debug option to get more log output. 使用--info或--debug选项运行以获取更多日志输出。 Run with --scan to get full insights. 与--scan一起运行以获取完整的见解。

  • Get more help at https://help.gradle.org https://help.gradle.org上获得更多帮助

BUILD FAILED in 57s 23 actionable tasks: 22 executed, 1 up-to-date 57秒内失败,可执行23项任务:执行22项,最新1项

If you see details in your error log you will get the missing library. 如果您在错误日志中看到详细信息,则会得到缺少的库。 I have added below line in progourd.cfg for my project for a similar type of error while generating signed apk. 我在progourd.cfg中为我的项目添加了以下行,以生成签名的apk时出现类似类型的错误。

-dontwarn com.google.** -dontwarn com.google。**

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM