java.io.IOException: The output jar is empty. Did you specify the proper '-keep' options?
2015-05-11 11:26
639 查看
执行Maven Install打包的时候,出现以下错误信息:
这是因为’-keep’选项使用的不正确,把所有的类都过虑掉了。
[proguard] java.io.IOException: The output jar is empty. Did you specify the proper '-keep' options? [proguard] at proguard.shrink.Shrinker.execute(Shrinker.java:171) [proguard] at proguard.ProGuard.shrink(ProGuard.java:297) [proguard] at proguard.ProGuard.execute(ProGuard.java:113) [proguard] at proguard.ProGuard.main(ProGuard.java:538)
这是因为’-keep’选项使用的不正确,把所有的类都过虑掉了。
相关文章推荐
- 解决 java.io.IOException: The output jar is empty. Did you specify the proper '-keep' options?
- Error: The output jar is empty. Did you specify the proper '-keep' options?
- java.io.IOException: You have to specify '-keep' options for the shrinking step.
- Ignoring unused library classes...java.io.IOException: You have to specify '-keep' options for the s
- java.io.IOException: The same input jar is specified twice
- java.io.IOException: The same input jar [E:\Jre\lib\rt.jar] is specified twice.
- java.io.IOException: The same input jar is specified twice”
- AndroidApk混淆编译时,报告java.io.IOException: The same input jar[xxx/xxx.jar]is specified twice.
- java.io.IOException: The same input jar [***\libs\android-support-v4.jar] is specified twice
- java.io.IOException: The same input jar [***\libs\javastruct-0.1.jar] is specified twice
- java.io.IOException: The same input jar XXX is specified twice
- The IP you're using to send email is not authorized
- ERROR 1289 (HY000): The 'partitioning' feature is disabled; you need MySQL built with '--with-plugin
- error C2628: followed by 'char' is illegal (did you forget a ';'?)
- Caused by: java.io.IOException: CreateProcess error=87, The parameter is incorrect
- Unable to find the socket transport 'ssl' - did you forget to enable it when you configured
- cocoapods was not able to update the 'master' repo.if it is a unexpected issue and persists you can
- The authenticity of host 'www.101du.net (60.210.17.34)' can't be established. RSA key fingerprint is xxxx. Are you sure you want
- There is no READABLE property named 'day' in class 'java.lang.String';You have an error in your SQL
- 让国外邮件服务商不再拒收你的邮件,The IP you're using to send mail is not authorized