Reputation: 77596
I am getting the following error while obfuscating my application. How can i define the output jar in my build.xml?
[java] Shrinking...
[java] java.io.IOException: The output jar is empty. Did you specify the proper '-keep' options?
[java] at proguard.shrink.Shrinker.execute(Shrinker.java:148)
[java] at proguard.ProGuard.shrink(ProGuard.java:294)
[java] at proguard.ProGuard.execute(ProGuard.java:100)
[java] at proguard.ProGuard.main(ProGuard.java:499)
Upvotes: 2
Views: 6427
Reputation: 5614
android create project --name <Your Project Name> --package <Your Company Name> --target 7 --path . --activity dummy
Find build.xml which you can copy to root directory of the project.You should find directory called ./bin/proguard and ./bin/-release.apk. You can find more details here.
Upvotes: 8