Я использую ksoap2 версию 2.4 для подключения .net webservice и получения данных. Я пользуюсь ProGuard при экспорте моего приложения. Я получил эту ошибку при экспорте proguard.there не проблема, когда я не использую ее.android: ошибка ProGuard, было обнаружено 4 определения повторяющихся классов
[2016-04-13 11:41:39 - Agency] Proguard returned with error code 1. See console
[2016-04-13 11:41:39 - Agency] Note: there were 4 duplicate class definitions.
[2016-04-13 11:41:39 - Agency] Warning: library class android.content.res.XmlResourceParser extends or implements program class org.xmlpull.v1.XmlPullParser
[2016-04-13 11:41:39 - Agency] Warning: library class android.content.Intent depends on program class org.xmlpull.v1.XmlPullParser
[2016-04-13 11:41:39 - Agency] Warning: library class android.content.IntentFilter depends on program class org.xmlpull.v1.XmlSerializer
[2016-04-13 11:41:39 - Agency] Warning: library class android.content.IntentFilter depends on program class org.xmlpull.v1.XmlPullParser
[2016-04-13 11:41:39 - Agency] Warning: library class android.content.res.ColorStateList depends on program class org.xmlpull.v1.XmlPullParser
[2016-04-13 11:41:39 - Agency] Warning: library class android.graphics.drawable.BitmapDrawable depends on program class org.xmlpull.v1.XmlPullParser
[2016-04-13 11:41:39 - Agency] Warning: library class android.graphics.drawable.ColorDrawable depends on program class org.xmlpull.v1.XmlPullParser
[2016-04-13 11:41:39 - Agency] Warning: library class android.graphics.drawable.Drawable depends on program class org.xmlpull.v1.XmlPullParser
[2016-04-13 11:41:39 - Agency] Warning: library class android.graphics.drawable.Drawable depends on program class org.xmlpull.v1.XmlPullParser
[2016-04-13 11:41:39 - Agency] Warning: library class android.graphics.drawable.Drawable depends on program class org.xmlpull.v1.XmlPullParser
[2016-04-13 11:41:39 - Agency] Warning: library class android.graphics.drawable.GradientDrawable depends on program class org.xmlpull.v1.XmlPullParser
[2016-04-13 11:41:39 - Agency] Warning: library class android.graphics.drawable.InsetDrawable depends on program class org.xmlpull.v1.XmlPullParser
[2016-04-13 11:41:39 - Agency] Warning: library class android.graphics.drawable.ShapeDrawable depends on program class org.xmlpull.v1.XmlPullParser
[2016-04-13 11:41:39 - Agency] Warning: library class android.graphics.drawable.ShapeDrawable depends on program class org.xmlpull.v1.XmlPullParser
[2016-04-13 11:41:39 - Agency] Warning: library class android.view.LayoutInflater depends on program class org.xmlpull.v1.XmlPullParser
[2016-04-13 11:41:39 - Agency] Warning: library class android.view.LayoutInflater depends on program class org.xmlpull.v1.XmlPullParser
[2016-04-13 11:41:39 - Agency] You should check if you need to specify additional program jars.
[2016-04-13 11:41:39 - Agency] Warning: there were 16 instances of library classes depending on program classes.
[2016-04-13 11:41:39 - Agency] You must avoid such dependencies, since the program classes will
[2016-04-13 11:41:39 - Agency] be processed, while the library classes will remain unchanged.
[2016-04-13 11:41:39 - Agency] java.io.IOException: Please correct the above warnings first.
[2016-04-13 11:41:39 - Agency] at proguard.Initializer.execute(Initializer.java:321)
[2016-04-13 11:41:39 - Agency] at proguard.ProGuard.initialize(ProGuard.java:211)
[2016-04-13 11:41:39 - Agency] at proguard.ProGuard.execute(ProGuard.java:86)
[2016-04-13 11:41:39 - Agency] at proguard.ProGuard.main(ProGuard.java:492)
Я запустил Google и нашел несколько решений. Но ни один из них не работал. Использование -dontwarn
мое приложение закрыто. Используя -keep class
У меня такая же ошибка. Я использую eclipse. Что мне делать?