در دستور
-libraryjars [ path ]\libs\universal-image-loader-1.9.3.jar'
مسیر jar file باید چطوری نوشته شود؟
من 4 تا library دارم و به شکل زیر آنها را در pruguard اضافه کرده ام
-libraryjars 'I:\Workspace\MyApp\libs\universal-image-loader-1.9.3.jar'
-libraryjars 'I:\Workspace\MyApp\libs\gson-2.3.jar'
-libraryjars 'I:\Workspace\MyApp\libs\disklrucache-1.3.1.jar'
-libraryjars 'I:\Workspace\MyApp\libs\android-support-v4.jar'
ولی زمان export خطای زیر نمایش داده میشود
Warning: there were 3 unresolved references to program class members.
Your input classes appear to be inconsistent.
You may need to recompile them and try again.
Alternatively, you may have to specify the option
'-dontskipnonpubliclibraryclassmembers'.
علاوه بر خطای فوق با توجه به اینکه
-keep class se.emilsjolander.** { *; } -dontwarn se.emilsjolander.**
-keep class com.emilsjolander.** { *; } -dontwarn com.emilsjolander.**
را اضافه کرده ام خطای
Warning: com.emilsjolander.components.stickylistheaders.StickyListHeadersListView: can't find referenced method 'int getLayoutDirection()' in class com.emilsjolander.components.stickylistheaders.StickyListHeadersListView
Warning: com.emilsjolander.components.stickylistheaders.StickyListHeadersListView: can't find referenced method 'void setLayoutDirection(int)' in class android.view.View
Warning: org.apache.http.conn.ssl.SSLConnectionSocketFactory: can't find referenced method 'void setHostname(java.net.Socket,java.lang.String)' in class android.net.SSLCertificateSocketFactory
نمایش داده میشود. اگر ممکن است راهنمایی کنید