0
내 응용 프로그램은 pdftron lib (PDFViewCtrlTools)를 사용하고 있습니다.proguard를 사용하는 PDFTRON lib 오류
public static void debugLogD(String tag, String msg) {
if (BuildConfig.DEBUG) {
Log.d(tag, msg);
}
}
public static void debugLogV(String tag, String msg) {
if (BuildConfig.DEBUG) {
Log.v(tag, msg);
}
}
릴리스 응용 프로그램을 구축 할 때 나는 다음과 같은 오류가 점점 오전 : 여기에 클래스 Utils.java 및 다음과 같은 방법이
[proguard] Initializing...
[proguard] Warning: pdftron.PDF.Utils.Utils: can't find referenced class com.pdftron.pdf.tools.BuildConfig
[proguard] Note: android.support.v4.text.ICUCompatIcs: can't find dynamically referenced class libcore.icu.ICU
[proguard] Note: com.google.android.gms.internal.av calls '(com.google.ads.mediation.MediationAdapter)Class.forName(variable).newInstance()'
[proguard] Note: com.google.android.gms.maps.internal.q: can't find dynamically referenced class com.google.android.gms.maps.internal.CreatorImpl
[proguard] Note: com.google.api.client.util.IOUtils: can't find dynamically referenced class java.nio.file.Files
[proguard] Note: com.google.api.client.util.IOUtils: can't find dynamically referenced class java.nio.file.Path
[proguard] Note: com.google.gson.internal.UnsafeAllocator: can't find dynamically referenced class sun.misc.Unsafe
[proguard] Note: com.sophos.jbase.JBKeyStore: can't find dynamically referenced class android.os.ServiceManager
[proguard] Note: com.sophos.jbase.PRNGFixes: can't find dynamically referenced class org.apache.harmony.xnet.provider.jsse.NativeCrypto
[proguard] Note: com.sophos.jbase.PRNGFixes: can't find dynamically referenced class org.apache.harmony.xnet.provider.jsse.NativeCrypto
[proguard] Note: com.squareup.okhttp.internal.Platform: can't find dynamically referenced class com.android.org.conscrypt.OpenSSLSocketImpl
[proguard] Note: com.squareup.okhttp.internal.Platform: can't find dynamically referenced class org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl
[proguard] Note: the configuration refers to the unknown class 'com.google.vending.licensing.ILicensingService'
[proguard] Note: the configuration refers to the unknown class 'com.android.vending.licensing.ILicensingService'
[proguard] Note: the configuration refers to the unknown class 'com.pdftron.pdf.tools.BuildConfig'
[proguard] Maybe you meant the fully qualified name 'com.company.product.BuildConfig'?
프로젝트 라이브러리 BuildConfig에 문제가 많은 사람들이있다. DEBUG가 사용되었지만 아직 어떤 해결책도 찾을 수 없습니다.
문제는 도구를 사용하는 경우에만 나타납니다/난독 화는/난독 화 - 안드로이드 - optimize.txt 대신 도구/난독 화/난독 화 - android.txt