【发布时间】:2018-02-10 00:40:00
【问题描述】:
我正在开发 11.0.4 firebase 库版本。今天我切换到最新版本:11.2.0,当我尝试构建发布版本(启用 ProGuard)时,我收到错误:
Warning:com.google.android.gms.internal.zzbdo: can't find referenced method 'boolean isInstantApp(java.lang.String)' in library class android.content.pm.PackageManager
Warning:there were 1 unresolved references to library class members.
Warning:Exception while processing task java.io.IOException: Please correct the above warnings first.
Error:Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.
> Job failed, see logs for details
还有 gradle 控制台:
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)
【问题讨论】:
-
你能解决这个问题吗?我也遇到了同样的问题。
-
是的,请在下面查看我的答案。
标签: android firebase proguard release android-proguard