android打包提示specify the option dontskipnonpubliclibraryclassmembers

详细log:

[2013-07-18 15:20:52 - Wotewode-_] Warning: there were 2 unresolved references to program class members.
[2013-07-18 15:20:52 - Wotewode-_]          Your input classes appear to be inconsistent.
[2013-07-18 15:20:52 - Wotewode-_]          You may need to recompile them and try again.
[2013-07-18 15:20:52 - Wotewode-_]          Alternatively, you may have to specify the option
[2013-07-18 15:20:52 - Wotewode-_]          '-dontskipnonpubliclibraryclassmembers'.
[2013-07-18 15:20:52 - Wotewode-_] java.io.IOException: Please correct the above warnings first.
[2013-07-18 15:20:52 - Wotewode-_]     at proguard.Initializer.execute(Initializer.java:321)
[2013-07-18 15:20:52 - Wotewode-_]     at proguard.ProGuard.initialize(ProGuard.java:211)
[2013-07-18 15:20:52 - Wotewode-_]     at proguard.ProGuard.execute(ProGuard.java:86)
[2013-07-18 15:20:52 - Wotewode-_]     at proguard.ProGuard.main(ProGuard.java:492)


原因:自己的导入的framework库引起


解决方法:在proguard.cfg里添加

-ignorewarnings


你可能感兴趣的:(android打包提示specify the option dontskipnonpubliclibraryclassmembers)