android – Proguard找不到引用的方法’void allowCoreThreadTimeOut(boolean)’

android – Proguard找不到引用的方法’void allowCoreThreadTimeOut(boolean)’,第1张

概述我正在尝试为Google Play商店构建我的 Android应用的新版本.我收到以下构建错误. MyApp] Proguard returned with error code 1. See consoleMyApp] Warning: bolts.Executors: can't find referenced method 'void allowCoreThreadTimeOut(bool 我正在尝试为Google Play商店构建我的 Android应用的新版本.我收到以下构建错误.

MyApp] Proguard returned with error code 1. See consoleMyApp] Warning: bolts.Executors: can't find referenced method 'voID allowCoreThreadTimeOut(boolean)' in class java.util.concurrent.ThreadPoolExecutorMyApp] Warning: bolts.WebVIEwApplinkResolver: can't find referenced class androID.webkit.JavaScriptInterfaceMyApp]       You should check if you need to specify additional program jars.MyApp] Warning: there were 1 unresolved references to classes or interfaces.MyApp]          You may need to specify additional library jars (using '-libraryjars').MyApp] Warning: there were 1 unresolved references to program class members.MyApp]          Your input classes appear to be inconsistent.MyApp]          You may need to recompile them and try again.MyApp]          Alternatively,you may have to specify the option MyApp]          '-dontskipnonpubliclibraryclassmembers'.MyApp] java.io.IOException: Please correct the above warnings first.MyApp]  at proguard.Initializer.execute(Initializer.java:321)MyApp]  at proguard.ProGuard.initialize(ProGuard.java:211)MyApp]  at proguard.ProGuard.execute(ProGuard.java:86)MyApp]  at proguard.ProGuard.main(ProGuard.java:492)

我不确定如何解决这个问题.

我刚刚换掉旧的Facebook sdk以获得最新版本.这可能与此有关吗?

解决方法 bolt库似乎指的是用于构建应用程序的旧AndroID运行时中不存在的方法和类.当您在具有此运行时的设备上运行应用程序时,这可能会导致问题.您应该考虑针对更新的运行时进行构建.

如果您确定这不是问题,您可以告诉ProGuard继续:

-dontwarn bolts.**
总结

以上是内存溢出为你收集整理的android – Proguard找不到引用的方法’void allowCoreThreadTimeOut(boolean)’全部内容,希望文章能够帮你解决android – Proguard找不到引用的方法’void allowCoreThreadTimeOut(boolean)’所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1130036.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-30
下一篇 2022-05-30

发表评论

登录后才能评论

评论列表(0条)

保存