输出罐子是空的。你指定适当的“-keep”选项?罐子、选项、适当、keep

2023-09-06 16:30:55 作者:心野套路深

我试图建立从蚂蚁释放APK文件,这就是即时得到我的控制台

I am trying to build a release APK file from ant and this is what i m getting in my console

D:\AndroidSDK\android-sdk_r18-windows\android-sdk-windows\tools\ant\build.xml:595: The following error occurred while executing this line:D:\AndroidSDK\android-sdk_r18windows\android-sdk-windows\tools\ant\build.xml:864: The output jar is empty. Did you specify the proper '-keep' options?

这是什么错误,我怎么能解决it..M采用最新的SDK(API-17)修订21.1 所有JAVA_HOME,ANT_HOME设置

What is this error and how can i resolve it..M using the latest SDK(API-17) with Revision 21.1 All java_home,Ant_home are set

推荐答案

Ohkk我得到的回答myself..There在上,我是用作为library..The创建的lib的jar项目清单文件有问题项目,更新它和它引用在此我主要code。至于LInk..and它的工作:-) 这里

Ohkk I got the answer myself..There was a problem in the Manifest file on the jar project which i was using as a library..The created the lib project,Updated it and referenced it to my main code .As in this LInk..and it worked:-) here