2014-05-14 1 views
4

Google Play 스토어 용 Android 앱의 새 릴리스 빌드를 빌드하려고합니다. 다음 빌드 오류가 나타납니다.Proguard에서 'void allowCoreThreadTimeOut (boolean)'메서드를 찾을 수 없습니다.

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) 

저는이 문제를 해결하는 방법을 잘 모릅니다.

나는 을 입력했는데은 최신 Facebook 용 SDK를 최신 버전으로 바꿉니다. 그게이 일과 관련이 있을까요?

답변

7

볼트 라이브러리는 응용 프로그램을 빌드하는 데 사용중인 이전 Android 런타임에없는 메소드와 클래스를 나타냅니다. 이 런타임이있는 장치에서 응용 프로그램을 실행할 때 문제가 발생할 수 있습니다. 최신 런타임을 대상으로 구축하고 대상을 고려해야합니다.

이 문제가 아니라고하여 확인하면, 당신은 어쨌든 계속 ProGuard를 알 수 있습니다 :

-dontwarn bolts.** 
관련 문제