2

I want to minimize the size of .apk file, so I follow the Android Developer guide (http://developer.android.com/tools/help/proguard.html), but there are some problems I encountered as follows:

I create a new project via Android Studio, but it doesn't generate a proguard.cfg file. And there exists a local. Properties file rather than project. Properties file.

How can I figure out this issue?

Daniel Nugent
  • 43,104
  • 15
  • 109
  • 137
user2761885
  • 327
  • 1
  • 7
  • 13

1 Answers1

2

In the new version of the ADT, the file generated is not proguard.cfg but proguard-project.txt. Proguard must be activated in the file project.properties. You can check this link: http://tools.android.com/recent/proguardimprovements

Yoann Hercouet
  • 17,894
  • 5
  • 58
  • 85