App*_*evo 10 android release proguard firebase android-proguard
我正在研究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
Run Code Online (Sandbox Code Playgroud)
和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)
Run Code Online (Sandbox Code Playgroud)
App*_*evo 17
我使用的是API 25(rev.3),该方法isInstantApp已在API 26中添加.更改targetSdkVersion为此版本重新解决了问题.
| 归档时间: |
|
| 查看次数: |
4010 次 |
| 最近记录: |