0

I added my license file into MYExampleApp->src folder.

If i generate the APK without using proguard my license file is present in Meta-Inf folder. but if i am using proguard the license file is not present in Meta-Inf folder.

I want include my license file int Meta-Inf folder.

How can i achieve this? Please help me!

User6006
  • 597
  • 4
  • 21
  • I think you have to change proguard configurations to exclude your license file. Here is some reference for proguard http://stackoverflow.com/questions/4830474/how-to-keep-exclude-a-particular-package-path-when-using-proguard – Vivek Mishra Jan 27 '17 at 05:37
  • yes you are correct ,in the link which you have provided it was given for only java class files,i want to do it the same for text files my license file under src folder – User6006 Jan 27 '17 at 09:40

1 Answers1

0

Basically we need to mention in proguard file to keep the file. Please refer the link below -

How can I force Proguard to keep my .xml resource file?

Community
  • 1
  • 1
Nagesh Jatagond
  • 344
  • 2
  • 13