I have a project which is working fine when run from eclipse, but not when installed by signed APK.
This project uses some libraries :
- Pulltorefresh
- UniversalImageLoader
- android support v4 (JAR)
- gson (JAR)
- youtubeandroidplayerapi (JAR)
I dont want proguard to touch any of those libraries, so i use this in proguard-project.txt :
-libraryjars libs
-keep class com.handmark.pulltorefresh.library.** { *; }
-keep interface com.handmark.pulltorefresh.library.** { *; }
-keep class com.nostra13.universalimageloader.** { *; }
-keep interface com.nostra13.universalimageloader.** { *; }
-keep class android.support.v4.app.** { *; }
-keep interface android.support.v4.app.** { *; }
-keep class com.google.** { *; }
-keep interface com.google.** { *; }
This is my project.properties
:
proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
Those proguard code is working because the APK generatd after i added them has a bigger size. However, the project is still breaking when i installed it from the signed APK.
I tried to find whats going on by doing this :
retrace.bat -verbose mapping.txt dump.txt
After that, my cmd
crazily output some things, but i dont know where is the error.
Please help me out, im just getting started to proguard. Thanks in advance.
EDIT Sorry guys, what i mean from "breaking" is my listview just dont showing any data/items...forever loading. No exception at all.