gpt4 book ai didi

android - 生成签名的APK错误

转载 作者:行者123 更新时间:2023-12-03 06:08:28 24 4
gpt4 key购买 nike

不生成单一的apk。但运行应用程序时不会出错。

在我们的应用程序上运行ProGuard并生成apk时,我们看到以下警告。

Warning:com.localytics.android.SessionHandler$15: can't find referenced method 'void setLatestEventInfo(android.content.Context,java.lang.CharSequence,java.lang.CharSequence,android.app.PendingIntent)' in library class android.app.Notification
Warning:there were 1 unresolved references to library class members.
You probably need to update the library versions.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedlibraryclassmember)
Warning:Exception while processing task java.io.IOException: Please correct the above warnings first.
:app:transformClassesAndResourcesWithProguardForRelease FAILED
Error:Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.
java.io.IOException: Please correct the above warnings first.

最佳答案

The problem显然是setLatestEventInfo and a quick search显示这是错误/弃用问题的结果。查看链接或搜索“setLatestEventInfo”

关于android - 生成签名的APK错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36670081/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com