android应用程序中的proguard

android应用程序中的proguard,android,configuration,apk,proguard,obfuscation,Android,Configuration,Apk,Proguard,Obfuscation,我在应用程序中使用外部库,如foursquare api和ABS库 当我在导出应用程序之前启用proguard时,我在控制台中遇到下面提到的错误 Proguard返回错误代码1。参见控制台 注意:有3686个重复的类定义。 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.HTTPMethod 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不

我在应用程序中使用外部库,如foursquare api和ABS库

当我在导出应用程序之前启用proguard时,我在控制台中遇到下面提到的错误

Proguard返回错误代码1。参见控制台 注意:有3686个重复的类定义。 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.HTTPMethod 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.HTTPMethod fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.HTTPRequest 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.FetchOptions$Builder 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.FetchOptions 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.HTTPRequest 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.URLFetchServiceFactory 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.URLFetchService 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.HTTPResponse 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.HTTPResponse 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.HTTPMethod 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.HTTPMethod 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.FetchOptions$Builder 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.FetchOptions 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.URLFetchServiceFactory 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.URLFetchService 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.HTTPResponse 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.HTTPMethod 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.HTTPRequest 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.URLFetchService 警告:fi.foyt.foursquare.api.io.GAEIOHandler:找不到引用的类com.google.appengine.api.urlfetch.HTTPResponse 警告:fi.foyt.foursquare.example.AuthenticationExample:找不到引用的类javax.servlet.http.HttpServletResponse 警告:fi.foyt.foursquare.example.AuthenticationExample:找不到引用的类javax.servlet.http.HttpServletRequest 警告:fi.foyt.foursquare.example.AuthenticationExample:找不到引用的类javax.servlet.http.HttpServletRequest 警告:fi.foyt.foursquare.example.AuthenticationExample:找不到引用的类javax.servlet.http.HttpServletResponse 警告:fi.foyt.foursquare.example.AuthenticationExample:找不到引用的类javax.servlet.http.HttpServletResponse 警告:fi.foyt.foursquare.example.AuthenticationExample:找不到引用的类javax.servlet.http.HttpServletRequest fi.foyt.foursquare.example.AuthenticationExample:找不到引用的类javax.servlet.http.HttpServletRequest 警告:fi.foyt.foursquare.example.AuthenticationExample:找不到引用的类javax.servlet.http.HttpServletResponse 警告:fi.foyt.foursquare.example.AuthenticationExample:找不到引用的类javax.servlet.http.HttpServletRequest 警告:fi.foyt.foursquare.example.AuthenticationExample:找不到引用的类javax.servlet.http.HttpServletResponse 警告:fi.foyt.foursquare.example.AuthenticationExample:找不到引用的类javax.servlet.http.HttpServletRequest 警告:fi.foyt.foursquare.example.AuthenticationExample:找不到引用的类javax.servlet.http.HttpServletResponse 警告:fi.foyt.foursquare.example.AuthenticationExample:找不到引用的类javax.servlet.http.HttpServletRequest 警告:fi.foyt.foursquare.example.AuthenticationExample:找不到引用的类javax.servlet.http.HttpServletResponse 您应该检查是否需要指定其他程序JAR。 警告:有35个未解析的类或接口引用。 您可能需要指定其他库jar(使用“-libraryjars”)。 java.io.IOException:请先更正上述警告。 在proguard.Initializer.execute处(Initializer.java:321) 在proguard.proguard.initialize处(proguard.java:211) 在proguard.proguard.execute(proguard.java:86) 位于proguard.proguard.main(proguard.java:492)

我知道我必须在Proguard属性文件中提到外部库。我该怎么说才是问题所在

请看我的proguard文件

-injars      bin/classes
-outjars     bin/classes-processed.jar
-libraryjars E:/android/adt-bundle-windows-x86_64-20131030/sdk/platforms/android-19/android.jar

-dontpreverify
-repackageclasses ''
-allowaccessmodification
-optimizations !code/simplification/arithmetic
-keepattributes *Annotation*

-keep public class * extends android.app.Activity

-keep public class * extends android.app.Service

-keep public class * extends android.content.BroadcastReceiver


-keep public class * extends android.content.ContentProvider

-assumenosideeffects class android.util.Log {
public static boolean isLoggable(java.lang.String, int);
public static int v(...);
public static int i(...);
public static int w(...);
public static int d(...);
public static int e(...);
}

如果您使用Android插件导出Android应用程序,该插件已经为您指定了标准配置。此配置包括基本的-keep选项和所有必要的-injars和-outjars选项(因此需要注意重复类定义)。这意味着您的proguard-project.txt文件可以是空的;它应该只包含任何pr
-dontwarn fi.foyt.foursquare.**