2012-01-23 2 views
1

와 eclipe을 APK를하지 않았다, 그는 내가이 링크의 솔루션 sujest 시험이 저에게이 얘기하고 APK일식, proguard.cfg

ava.io.IOException: Can't read [[email protected]] (No such file or directory) 

하지 않았다 : http://code.google.com/p/android/issues/detail?id=18359https://stackoverflow.com/questions/2...n-external-jar

나는 그들이 단지 라이브러리와 함께 문제의이 있기 때문에 난독 화는 compil하지 않기 때문에 나는이 메시지를 가지고 생각합니다. 이 문제를 어떻게 해결할 수 있습니까?

이 많은 검색 후 난독 파일

-optimizationpasses 5 
-dontusemixedcaseclassnames 
-dontskipnonpubliclibraryclasses 
-dontpreverify 
-verbose 
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/* 

-keep public class * extends android.app.Activity 
-keep public class * extends android.app.Application 
-keep public class * extends android.app.Service 
-keep public class * extends android.content.BroadcastReceiver 
-keep public class * extends android.content.ContentProvider 
-keep public class * extends android.app.backup.BackupAgentHelper 
-keep public class * extends android.preference.Preference 
-keep public class com.android.vending.licensing.ILicensingService 

-keepclasseswithmembernames class * {  
native <methods>; 
} 

-keepclasseswithmembernames class * { 
    public <init>(android.content.Context, android.util.AttributeSet); 
} 

-keepclasseswithmembernames class * { 
    public <init>(android.content.Context, android.util.AttributeSet, int); 
} 

-keepclassmembers enum * { 
    public static **[] values(); 
    public static ** valueOf(java.lang.String); 
} 

-keep class * implements android.os.Parcelable { 
    public static final android.os.Parcelable$Creator *; 
} 

답변

0

의 내용이다 예절

# This file is automatically generated by Android Tools. 
# Do not modify this file -- YOUR CHANGES WILL BE ERASED! 
# 
# This file must be checked in Version Control Systems. 
# 
# To customize properties used by the Ant build system use, 
# "ant.properties", and override values to adapt the script to your 
# project structure. 

# Project target. 
target=Google Inc.:Google APIs:7 
proguard.config=proguard.cfg 

의 내용이다,의이었다 문제는 내가이 iText 라이브러리를 사용하기 때문이다. OpenSource 라이브러리는 proguard와 작동하지 않았습니다. Proguard와 함께 작동하는 도서관은 유료 버전을 사용해야합니다.