geftimov / android-pathview

Android view with both path from constructed path or from svg.
Apache License 2.0
2.91k stars 513 forks source link

Why the white line doesn't show? #11

Closed THEONE10211024 closed 9 years ago

THEONE10211024 commented 9 years ago

In my own machine ,it works just fine,but in my colleague's machine ,the white line doesn't show?We share the same code.Could you please tell me why? qq 20150803121457 qq 20150803121530

geftimov commented 9 years ago

Can you provide more information about : 1) Device information 2) Android version

THEONE10211024 commented 9 years ago

Mine: Android build target:Android 4.0 JDK:jdk1.7.0_45

My colleague's: Android build target:Android 4.0 JDK:jdk1.6.0_45 He built with ant and I built with ADT default apk tool

THEONE10211024 commented 9 years ago

I figured out why it doesn't show in my colleague's machine,he is using proguard.config file and I don't.

geftimov commented 9 years ago

Oh ok. Is the issue done?

THEONE10211024 commented 9 years ago

yes,thanks!

geftimov commented 9 years ago

Well I did nothing.

THEONE10211024 commented 9 years ago

Hi,geftimov.I've found out the problem but I don't konw how to fix it.The problem is that when I add the proguard-project.txt file ,the white line gone ,and when I remove the file ,the white line shows up . I don't konw why. Belowing is the printscreen of the proguard-project.txt file, and we only add one line code there! qq 20150804195152

geftimov commented 9 years ago

android-pathview uses inner library for animating svgs. It is as dependency : dependencies { compile files('libs/androidsvg-1.2.1.jar') } Maybe when you want to strip the inner library PathView does not work as expected.