2016-11-22 46 views
-2

在生成一個簽名APK我這些warinings無法生成APK簽訂由於一些警告

Warning: org.junit.internal.runners.statements.FailOnTimeout: can't find referenced class java.lang.management.ManagementFactory 
Warning: org.junit.internal.runners.statements.FailOnTimeout: can't find referenced class java.lang.management.ThreadMXBean 
Warning: org.junit.internal.runners.statements.FailOnTimeout: can't find referenced class java.lang.management.ThreadMXBean 
Warning: org.junit.internal.runners.statements.FailOnTimeout: can't find referenced class java.lang.management.ManagementFactory 
Warning: org.junit.internal.runners.statements.FailOnTimeout: can't find referenced class java.lang.management.ThreadMXBean 
Warning: org.junit.internal.runners.statements.FailOnTimeout: can't find referenced class java.lang.management.ThreadMXBean 
Warning: org.junit.rules.DisableOnDebug: can't find referenced class java.lang.management.ManagementFactory 
Warning: org.junit.rules.DisableOnDebug: can't find referenced class java.lang.management.RuntimeMXBean 
Warning: org.junit.rules.DisableOnDebug: can't find referenced class java.lang.management.ManagementFactory 
Warning: org.junit.rules.DisableOnDebug: can't find referenced class java.lang.management.RuntimeMXBean 

我應該怎麼做,以避免這些警告?在此先感謝您的幫助。

+0

可避免此警告.. !! –

+0

我會檢查這個,讓你知道 – Nitt

+0

這個問題將如何重複。它提到了簡單框架的jar警告 – Nitt

回答

0

在proguard-rules.pro文件添加

-dontwarn java.lang.management.** 

此警告可避免

相關問題