0

I am using

compile 'com.facebook.android:facebook-android-sdk:4.+'

In my Android project just to track Facebook download, but it increases size of my app by 400Kb, which is huge for me.

How can I remove Facebook icons used in lib in release-build using pro-guard or anything else?

For better understanding attaching my apk distribution:

enter image description here

Lokesh Tiwari
  • 10,496
  • 3
  • 36
  • 45

1 Answers1

0

You should use proguard to achieve this. Here is a similar question How do I remove unused resources from third-party libraries I’ve included on Android?

Community
  • 1
  • 1
Sean Wiese
  • 21
  • 1