socialauth-android:导出apk时出现proguard错误

ste*_*pic 2 android proguard socialauth

使用socialauth-android,当我尝试导出我的项目时,我收到以下警告:

    Warning: org.brickred.socialauth.util.SocialAuthUtil: can't find referenced class javax.servlet.http.HttpServletRequest
     Warning: there were 111 unresolved references to classes or interfaces.
              You may need to add missing library jars or update their versions.
              If your code works fine without the missing classes, you can suppress
              the warnings with '-dontwarn' options.
     Warning: there were 140 unresolved references to program class members.
              Your input classes appear to be inconsistent.
              You may need to recompile the code or update the library versions.
              Alternatively, you may have to specify the option 
              '-dontskipnonpubliclibraryclassmembers'.
     java.io.IOException: Please correct the above warnings first.
        at proguard.Initializer.execute(Initializer.java:330)
        at proguard.ProGuard.initialize(ProGuard.java:212)
        at proguard.ProGuard.execute(ProGuard.java:87)
        at proguard.ProGuard.main(ProGuard.java:484)
Run Code Online (Sandbox Code Playgroud)

有人可以帮忙吗?

ste*_*pic 6

问题已经消失了,使用这个程序cfg:

-keep class org.brickred.** { *; } -dontwarn org.brickred.**
Run Code Online (Sandbox Code Playgroud)