Proguard cannot find the reference method 'void allowCoreThreadTimeOut (boolean)'

I am trying to create a new version of my Android app for the Google Play store. I get the following build error.

MyApp] Proguard returned with error code 1. See console
MyApp] Warning: bolts.Executors: can't find referenced method 'void allowCoreThreadTimeOut(boolean)' in class java.util.concurrent.ThreadPoolExecutor
MyApp] Warning: bolts.WebViewAppLinkResolver$2$2: can't find referenced class android.webkit.JavascriptInterface
MyApp]       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)

I am not sure how to solve the problem.

I just replaced the old sdk for the new version. Could this have anything to do with this?

+4
source share
1 answer

, -, , Android, . . , .

, , ProGuard :

-dontwarn bolts.**
+7

Source: https://habr.com/ru/post/1540544/


All Articles