在ECLIPSE导出example的DEMO,不能生成APK
连上手机,在eclipse里都可以正常使用极光推送的demo包,也可以正常收发推送消息,但是导出APK时,提示如下错误,导致不能生成APK.
Proguard returned with error code 1. See console
[2018-10-13 08:42:31 - kelafun] Warning: cn.jiguang.a.a.c.g: can't find referenced method 'boolean areNotificationsEnabled()' in class android.app.NotificationManager
[2018-10-13 08:42:31 - kelafun] Warning: there were 1 unresolved references to program class members.
[2018-10-13 08:42:31 - kelafun] Your input classes appear to be inconsistent.
[2018-10-13 08:42:31 - kelafun] You may need to recompile them and try again.
[2018-10-13 08:42:31 - kelafun] Alternatively, you may have to specify the option
[2018-10-13 08:42:31 - kelafun] '-dontskipnonpubliclibraryclassmembers'.
[2018-10-13 08:42:31 - kelafun] java.io.IOException: Please correct the above warnings first.
[2018-10-13 08:42:31 - kelafun] at proguard.Initializer.execute(Initializer.java:321)
[2018-10-13 08:42:31 - kelafun] at proguard.ProGuard.initialize(ProGuard.java:211)
[2018-10-13 08:42:31 - kelafun] at proguard.ProGuard.execute(ProGuard.java:86)
[2018-10-13 08:42:31 - kelafun] at proguard.ProGuard.main(ProGuard.java:492)